X-Git-Url: https://jxself.org/git/?p=skeinsum.git;a=blobdiff_plain;f=skein_cli.c;h=bb8235483aa91b11309102a1b26055d34436ed3e;hp=39fb01ac3087204a0fd4d005c2c9d3e5008aeb98;hb=26d0bdbce9858247b4c40cb7c546c8ba08941fd0;hpb=28de312cd6c2d32822e2b2ce793abbdf2ae640dc diff --git a/skein_cli.c b/skein_cli.c index 39fb01a..bb82354 100644 --- a/skein_cli.c +++ b/skein_cli.c @@ -29,7 +29,7 @@ along with skeinsum. If not, see . #include #include #include -#include "SHA3api_ref.h" +#include "skeinapi_ref.h" #define WARN(msg, ...) fprintf(stderr, "skein%dsum: " msg, hashbitlen, ##__VA_ARGS__) @@ -387,6 +387,7 @@ void print_version(void) void print_usage(void) { + printf("Usage: skein%dsum [OPTION]... [FILE]...\n",hashbitlen); printf("Print or check skein (%d-bit) checksums.\n",hashbitlen); printf("With no FILE, or when FILE is -, read standard input.\n" @@ -406,11 +407,13 @@ void print_usage(void) "-h, --help display this help and exit\n" "-V, --version output version information and exit\n" "\n" - "The sums are computed as described in version 1.3 of the Skein\n" + "The sums are computed as described in version %s of the Skein\n" "specification. When checking, the input should be a former output of\n" "this program. The default mode is to print a line with checksum, a\n" "character indicating input mode ('*' for binary, space for text), and\n" - "name for each FILE.\n"); + "name for each FILE.\n", skeinVersion); + printf("%s home page: %s\n", PACKAGE_NAME, PACKAGE_URL); + printf("Report bugs to: %s\n", PACKAGE_BUGREPORT); exit(1); }