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/ot-admin-builtin-set-origin.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/ot-admin-builtin-set-origin.c')
-rw-r--r-- | src/ostree/ot-admin-builtin-set-origin.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ostree/ot-admin-builtin-set-origin.c b/src/ostree/ot-admin-builtin-set-origin.c index 36f03877..c49f575a 100644 --- a/src/ostree/ot-admin-builtin-set-origin.c +++ b/src/ostree/ot-admin-builtin-set-origin.c @@ -34,6 +34,11 @@ static int opt_index = -1; static char **opt_set; +/* ATTENTION: + * Please remember to update the bash-completion script (bash/ostree) and + * man page (man/ostree-admin-set-origin.xml) when changing the option list. + */ + static GOptionEntry options[] = { { "set", 's', 0, G_OPTION_ARG_STRING_ARRAY, &opt_set, "Set config option KEY=VALUE for remote", "KEY=VALUE" }, { "index", 0, 0, G_OPTION_ARG_INT, &opt_index, "Operate on the deployment INDEX, starting from zero", "INDEX" }, |