aboutsummaryrefslogtreecommitdiff
path: root/bin/max
diff options
context:
space:
mode:
Diffstat (limited to 'bin/max')
-rwxr-xr-xbin/max7
1 files changed, 7 insertions, 0 deletions
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