From ba5dd828bde07493ef5f2f8abf6921e0a040133d Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sat, 13 Apr 2024 21:48:07 +0300 Subject: Combined one-letter options support (eg. "-mhp 3") --- stdu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdu.c') diff --git a/stdu.c b/stdu.c index 0c3c7a6..a41071a 100644 --- a/stdu.c +++ b/stdu.c @@ -19,7 +19,7 @@ int main (int argc, char* argv[]) { char* err_msg = (char*) res.result; fprintf( stderr, - "Error parsing command line: %s\n", + "Error parsing command line: %s.\nTry `stdu --help` for more info.\n", err_msg ); return 1; @@ -34,7 +34,7 @@ Print amount of data piped to stdin.\n\ --help | -?: print this help message\n\ --human-readable | -h: output in a human readable format\n\ --multiline | -m: output with line breaks\n\ ---precision n | -p n | -pn: output with n significant digits\n " +--precision n | -p n | -pn: output with n significant digits\n" ); return 0; } -- cgit v1.2.3