From 96b25433669e1cefe2bb2d118cd0e97d104bf725 Mon Sep 17 00:00:00 2001 From: Tudor Marcu Date: Mon, 27 Mar 2017 13:00:24 -0700 Subject: [PATCH] Update new argument long option and description Signed-off-by: Tudor Marcu --- src/clr_bundle_add.c | 4 ++-- src/clr_bundle_ls.c | 4 ++-- src/clr_bundle_rm.c | 4 ++-- src/main.c | 4 ++-- src/search.c | 4 ++-- src/verify.c | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/clr_bundle_add.c b/src/clr_bundle_add.c index a7858408..293d0c3b 100644 --- a/src/clr_bundle_add.c +++ b/src/clr_bundle_add.c @@ -51,7 +51,7 @@ static void print_help(const char *name) printf(" -F, --format=[staging,1,2,etc.] the format suffix for version file downloads\n"); printf(" -x, --force Attempt to proceed even if non-critical errors found\n"); printf(" -n, --nosigcheck Do not attempt to enforce certificate or signature checking\n"); - printf(" -I, --ignore-certtime Ignore system/certificate time when validating signature\n"); + printf(" -I, --ignore-time Ignore system/certificate time when validating signature\n"); printf(" -S, --statedir Specify alternate swupd state directory\n"); printf(" -C, --certpath Specify alternate path to swupd certificates\n"); printf("\n"); @@ -68,7 +68,7 @@ static const struct option prog_opts[] = { { "format", required_argument, 0, 'F' }, { "force", no_argument, 0, 'x' }, { "nosigcheck", no_argument, 0, 'n' }, - { "ignore", no_argument, 0, 'I' }, + { "ignore-time", no_argument, 0, 'I' }, { "statedir", required_argument, 0, 'S' }, { "certpath", required_argument, 0, 'C' }, { 0, 0, 0, 0 } diff --git a/src/clr_bundle_ls.c b/src/clr_bundle_ls.c index 1293c520..f264bab3 100644 --- a/src/clr_bundle_ls.c +++ b/src/clr_bundle_ls.c @@ -40,7 +40,7 @@ static void print_help(const char *name) printf(" -p, --path=[PATH...] Use [PATH...] as the path to verify (eg: a chroot or btrfs subvol\n"); printf(" -F, --format=[staging,1,2,etc.] the format suffix for version file downloads\n"); printf(" -n, --nosigcheck Do not attempt to enforce certificate or signature checking\n"); - printf(" -I, --ignore-certtime Ignore system/certificate time when validating signature\n"); + printf(" -I, --ignore-time Ignore system/certificate time when validating signature\n"); printf(" -S, --statedir Specify alternate swupd state directory\n"); printf(" -C, --certpath Specify alternate path to swupd certificates\n"); @@ -57,7 +57,7 @@ static const struct option prog_opts[] = { { "format", required_argument, 0, 'F' }, { "nosigcheck", no_argument, 0, 'n' }, { "statedir", required_argument, 0, 'S' }, - { "ignore", no_argument, 0, 'I' }, + { "ignore-time", no_argument, 0, 'I' }, { "certpath", required_argument, 0, 'C' }, { 0, 0, 0, 0 } diff --git a/src/clr_bundle_rm.c b/src/clr_bundle_rm.c index 0914f449..6dcbeb81 100644 --- a/src/clr_bundle_rm.c +++ b/src/clr_bundle_rm.c @@ -52,7 +52,7 @@ static void print_help(const char *name) printf(" -F, --format=[staging,1,2,etc.] the format suffix for version file downloads\n"); printf(" -x, --force Attempt to proceed even if non-critical errors found\n"); printf(" -n, --nosigcheck Do not attempt to enforce certificate or signature checks\n"); - printf(" -I, --ignore-certtime Ignore system/certificate time when validating signature\n"); + printf(" -I, --ignore-time Ignore system/certificate time when validating signature\n"); printf(" -S, --statedir Specify alternate swupd state directory\n"); printf(" -C, --certpath Specify alternate path to swupd certificates\n"); printf("\n"); @@ -68,7 +68,7 @@ static const struct option prog_opts[] = { { "format", required_argument, 0, 'F' }, { "force", no_argument, 0, 'x' }, { "nosigcheck", no_argument, 0, 'n' }, - { "ignore", no_argument, 0, 'I' }, + { "ignore-time", no_argument, 0, 'I' }, { "statedir", required_argument, 0, 'S' }, { "certpath", required_argument, 0, 'C' }, { 0, 0, 0, 0 } diff --git a/src/main.c b/src/main.c index 9f4d4911..83c8b7fd 100644 --- a/src/main.c +++ b/src/main.c @@ -47,7 +47,7 @@ static const struct option prog_opts[] = { { "path", required_argument, 0, 'p' }, { "force", no_argument, 0, 'x' }, { "nosigcheck", no_argument, 0, 'n' }, - { "ignore", no_argument, 0, 'I' }, + { "ignore-time", no_argument, 0, 'I' }, { "statedir", required_argument, 0, 'S' }, { "certpath", required_argument, 0, 'C' }, { 0, 0, 0, 0 } @@ -73,7 +73,7 @@ static void print_help(const char *name) printf(" -p, --path=[PATH...] Use [PATH...] as the path to verify (eg: a chroot or btrfs subvol\n"); printf(" -x, --force Attempt to proceed even if non-critical errors found\n"); printf(" -n, --nosigcheck Do not attempt to enforce certificate or signature checking\n"); - printf(" -I, --ignore-certtime Ignore system/certificate time when validating signature\n"); + printf(" -I, --ignore-time Ignore system/certificate time when validating signature\n"); printf(" -S, --statedir Specify alternate swupd state directory\n"); printf(" -C, --certpath Specify alternate path to swupd certificates\n"); printf("\n"); diff --git a/src/search.c b/src/search.c index 704b8097..9a564822 100644 --- a/src/search.c +++ b/src/search.c @@ -65,7 +65,7 @@ static void print_help(const char *name) printf(" -s, --scope=[query type] 'b' or 'o' for first hit per (b)undle, or one hit total across the (o)s\n"); printf(" -d, --display-files Output full file list, no search done\n"); printf(" -i, --init Download all manifests then return, no search done\n"); - printf(" -I, --ignore-certtime Ignore system/certificate time when validating signature\n"); + printf(" -I, --ignore-time Ignore system/certificate time when validating signature\n"); printf(" -u, --url=[URL] RFC-3986 encoded url for version string and content file downloads\n"); printf(" -c, --contenturl=[URL] RFC-3986 encoded url for content file downloads\n"); printf(" -v, --versionurl=[URL] RFC-3986 encoded url for version string download\n"); @@ -92,7 +92,7 @@ static const struct option prog_opts[] = { { "path", required_argument, 0, 'p' }, { "format", required_argument, 0, 'F' }, { "init", no_argument, 0, 'i' }, - { "ignore", no_argument, 0, 'I' }, + { "ignore-time", no_argument, 0, 'I' }, { "display-files", no_argument, 0, 'd' }, { "statedir", required_argument, 0, 'S' }, { "certpath", required_argument, 0, 'C' }, diff --git a/src/verify.c b/src/verify.c index 190c2be6..b0d95e93 100644 --- a/src/verify.c +++ b/src/verify.c @@ -64,7 +64,7 @@ static const struct option prog_opts[] = { { "versionurl", required_argument, 0, 'v' }, { "fix", no_argument, 0, 'f' }, { "install", no_argument, 0, 'i' }, - { "ignore", no_argument, 0, 'I' }, + { "ignore-time", no_argument, 0, 'I' }, { "format", required_argument, 0, 'F' }, { "quick", no_argument, 0, 'q' }, { "force", no_argument, 0, 'x' }, @@ -93,7 +93,7 @@ static void print_help(const char *name) printf(" -q, --quick Don't compare hashes, only fix missing files\n"); printf(" -x, --force Attempt to proceed even if non-critical errors found\n"); printf(" -n, --nosigcheck Do not attempt to enforce certificate or signature checking\n"); - printf(" -I, --ignore-certtime Ignore system/certificate time when validating signature\n"); + printf(" -I, --ignore-time Ignore system/certificate time when validating signature\n"); printf(" -S, --statedir Specify alternate swupd state directory\n"); printf(" -C, --certpath Specify alternate path to swupd certificates\n"); printf("\n");