diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2017-08-15 16:26:23 +0000 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-08-15 17:02:26 +0000 |
commit | b669bcafe54479cf48d95293e18c5d0f3fe85ebc (patch) | |
tree | f20020ba2cf1a550150638fb1b73c84164c60853 /src/ostree/ostree-trivial-httpd.c | |
parent | a11d696b4c4374a280d09cf40e68e1c849b4e539 (diff) | |
download | ostree-b669bcafe54479cf48d95293e18c5d0f3fe85ebc.tar.gz |
ostree: Add naggy comments to help keep options in sync
/* ATTENTION:
* Please remember to update the bash-completion script (bash/ostree) and
* man page (man/ostree-$COMMANDNAME.xml) when changing the option list.
*/
Closes: #1080
Approved by: cgwalters
Diffstat (limited to 'src/ostree/ostree-trivial-httpd.c')
-rw-r--r-- | src/ostree/ostree-trivial-httpd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ostree/ostree-trivial-httpd.c b/src/ostree/ostree-trivial-httpd.c index de04e9a4..f3fd0c6c 100644 --- a/src/ostree/ostree-trivial-httpd.c +++ b/src/ostree/ostree-trivial-httpd.c @@ -56,6 +56,11 @@ typedef struct { GOutputStream *log; } OtTrivialHttpd; +/* ATTENTION: + * Please remember to update the bash-completion script (bash/ostree) and + * man page (man/ostree-trivial-httpd.xml) when changing the option list. + */ + static GOptionEntry options[] = { { "daemonize", 'd', 0, G_OPTION_ARG_NONE, &opt_daemonize, "Fork into background when ready", NULL }, { "autoexit", 0, 0, G_OPTION_ARG_NONE, &opt_autoexit, "Automatically exit when directory is deleted", NULL }, |