From: Jason Self Date: Mon, 28 Sep 2015 00:51:45 +0000 (-0700) Subject: print_usage: merge printf calls and realign. X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=941b27c79189de1beba6f8874e833c02632ea132;p=skeinsum.git print_usage: merge printf calls and realign. --- diff --git a/skein_cli.c b/skein_cli.c index 706091e..39e5ea0 100644 --- a/skein_cli.c +++ b/skein_cli.c @@ -380,27 +380,27 @@ 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"); - printf("\n"); - printf("-b, --binary read in binary mode\n"); - printf("-c, --check read skein sums from the FILEs and check them\n"); - printf("--tag create a BSD-style checksum\n"); - printf("-t, --text read in text mode (default)\n"); - printf("\n"); - printf("The following three options are useful only when verifying checksums:\n"); - printf("--quiet don't print OK for each successfully verified file\n"); - printf("--status don't output anything, status code shows success\n"); - printf("-w, --warn warn about improperly formatted checksum lines\n"); - printf("\n"); - printf("--strict with --check, exit non-zero for any invalid input\n"); - printf("--help display this help and exit\n"); - printf("--version output version information and exit\n"); - printf("\n"); - printf("The sums are computed as described in version 1.3 of the Skein\n"); - printf("specification. When checking, the input should be a former output of\n"); - printf("this program. The default mode is to print a line with checksum, a\n"); - printf("character indicating input mode ('*' for binary, space for text), and\n"); - printf("name for each FILE.\n"); + printf("With no FILE, or when FILE is -, read standard input.\n" + "\n" + "-b, --binary read in binary mode\n" + "-c, --check read skein sums from the FILEs and check them\n" + "--tag create a BSD-style checksum\n" + "-t, --text read in text mode (default)\n" + "\n" + "The following three options are useful only when verifying checksums:\n" + "--quiet don't print OK for each successfully verified file\n" + "--status don't output anything, status code shows success\n" + "-w, --warn warn about improperly formatted checksum lines\n" + "\n" + "--strict with --check, exit non-zero for any invalid input\n" + "-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" + "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"); exit(1); }