summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-05-04 21:22:23 +0200
committerGravatar Christian Hesse <mail@eworm.de>2016-05-04 21:22:23 +0200
commit7d93b5bc8c519ad65cce1d19dcaf6bc732868161 (patch)
treed39a36f66871f481d86902678bb9d0ce2155b0e8
parent1c02924892b0ee0e325677351667bad799b7a254 (diff)
downloadmkinitcpio-ykfde-7d93b5bc8c519ad65cce1d19dcaf6bc732868161.tar.gz
mkinitcpio-ykfde-7d93b5bc8c519ad65cce1d19dcaf6bc732868161.tar.zst
update help output
-rw-r--r--bin/ykfde-cpio.c2
-rw-r--r--bin/ykfde.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/ykfde-cpio.c b/bin/ykfde-cpio.c
index d2ec3b6..371198e 100644
--- a/bin/ykfde-cpio.c
+++ b/bin/ykfde-cpio.c
@@ -93,7 +93,7 @@ int main(int argc, char **argv) {
printf("%s: %s v%s (compiled: " __DATE__ ", " __TIME__ ")\n", argv[0], PROGNAME, VERSION);
if (help > 0)
- fprintf(stderr, "usage: %s [-h] [-V]\n", argv[0]);
+ fprintf(stderr, "usage: %s [-h|--help] [-V|--version]\n", argv[0]);
if (version > 0 || help > 0)
return EXIT_SUCCESS;
diff --git a/bin/ykfde.c b/bin/ykfde.c
index b01b3a1..c9f66a9 100644
--- a/bin/ykfde.c
+++ b/bin/ykfde.c
@@ -184,7 +184,8 @@ int main(int argc, char **argv) {
printf("%s: %s v%s (compiled: " __DATE__ ", " __TIME__ ")\n", argv[0], PROGNAME, VERSION);
if (help > 0)
- fprintf(stderr, "usage: %s [-h] [-n <new-2nd-factor>] [-s <2nd-factor>] [-V]\n", argv[0]);
+ fprintf(stderr, "usage: %s [-h|--help] [-n|--new-2nd-factor <new-2nd-factor>] [-N|--ask-new-2nd-factor]\n"
+ " [-s|--2nd-factor <2nd-factor>] [-S|--ask-2nd-factor] [-V|--version]\n", argv[0]);
if (version > 0 || help > 0)
return EXIT_SUCCESS;