From 3d84e59fdea18eb07bfd22d3ad9332f325090e5b Mon Sep 17 00:00:00 2001 From: Jason Self Date: Sun, 24 Feb 2019 11:04:08 -0800 Subject: [PATCH] Use skeinVersion in help text Instead of a hardcoded version number --- skein_cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.31.1