summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-gpg-sign.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2017-08-15 16:26:23 +0000
committerAtomic Bot <atomic-devel@projectatomic.io>2017-08-15 17:02:26 +0000
commitb669bcafe54479cf48d95293e18c5d0f3fe85ebc (patch)
treef20020ba2cf1a550150638fb1b73c84164c60853 /src/ostree/ot-builtin-gpg-sign.c
parenta11d696b4c4374a280d09cf40e68e1c849b4e539 (diff)
downloadostree-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-builtin-gpg-sign.c')
-rw-r--r--src/ostree/ot-builtin-gpg-sign.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ostree/ot-builtin-gpg-sign.c b/src/ostree/ot-builtin-gpg-sign.c
index eace474b..8969fe86 100644
--- a/src/ostree/ot-builtin-gpg-sign.c
+++ b/src/ostree/ot-builtin-gpg-sign.c
@@ -31,6 +31,11 @@
static gboolean opt_delete;
static char *opt_gpg_homedir;
+/* ATTENTION:
+ * Please remember to update the bash-completion script (bash/ostree) and
+ * man page (man/ostree-gpg-sign.xml) when changing the option list.
+ */
+
static GOptionEntry options[] = {
{ "delete", 'd', 0, G_OPTION_ARG_NONE, &opt_delete, "Delete signatures having any of the GPG KEY-IDs" },
{ "gpg-homedir", 0, 0, G_OPTION_ARG_FILENAME, &opt_gpg_homedir, "GPG Homedir to use when looking for keyrings", "HOMEDIR" },