From: Jason Self Date: Sun, 24 Feb 2019 19:04:08 +0000 (-0800) Subject: Use skeinVersion in help text X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=3d84e59fdea18eb07bfd22d3ad9332f325090e5b;p=skeinsum.git Use skeinVersion in help text Instead of a hardcoded version number --- diff --git a/skein_cli.c b/skein_cli.c index 39fb01a..73ae69e 100644 --- a/skein_cli.c +++ b/skein_cli.c @@ -406,11 +406,11 @@ 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); exit(1); }