From 7d93b5bc8c519ad65cce1d19dcaf6bc732868161 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 4 May 2016 21:22:23 +0200 Subject: update help output --- bin/ykfde-cpio.c | 2 +- bin/ykfde.c | 3 ++- 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 ] [-s <2nd-factor>] [-V]\n", argv[0]); + fprintf(stderr, "usage: %s [-h|--help] [-n|--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; -- cgit v1.2.3-70-g09d2