summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-12-09 01:15:31 +0000
committerPeter Powell <petpow@saberuk.com>2019-12-09 01:15:31 +0000
commit37b46ade4b760602c814e24adaa0f0278b4f43f4 (patch)
tree55967ba695eb5c4582ea802bfc21c843915dd2d1 /include
parent15b87e3b2bddd3d9502318e9cbd1f7c9abdd0a06 (diff)
Extract command line option parsing to a function.
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/configreader.h b/include/configreader.h
index a891f98f7..d2c5d7d0e 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -160,12 +160,13 @@ struct CommandLineConf
*/
bool writepid;
- /** Saved argc from startup
- */
+ /* Whether the --runasroot option was specified at boot. */
+ bool runasroot;
+
+ /** Saved argc from startup. */
int argc;
- /** Saved argv from startup
- */
+ /** Saved argv from startup. */
char** argv;
};