mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-10-03 23:38:25 +00:00
Update new argument long option and description
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
This commit is contained in:
@@ -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 }
|
||||
|
||||
+2
-2
@@ -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 }
|
||||
|
||||
+2
-2
@@ -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 }
|
||||
|
||||
+2
-2
@@ -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");
|
||||
|
||||
+2
-2
@@ -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' },
|
||||
|
||||
+2
-2
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user