From c6188975d2da6c1696c4433f6fce8ae4c9a6ac38 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 12 Apr 2023 08:15:20 -0300 Subject: bin/: Make help string more consistent across several executables --- bin/max | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bin/max') diff --git a/bin/max b/bin/max index ae38983..d63f82d 100755 --- a/bin/max +++ b/bin/max @@ -12,9 +12,13 @@ usage() { help() { cat <<-'EOF' + Options: -h, --help show this message + NUMBER the list of numbers to get the max from + + Get the maximum number from the given values. @@ -25,16 +29,19 @@ help() { $ min 5 3 9 9 4 9 + Get the maximum number when negative numbers are given $ max -- -3 -5 -3 + Get the maximum number given a single number $ max 8 8 + The maximum default number: $ max -- cgit v1.2.3