aboutsummaryrefslogtreecommitdiff
path: root/bin/min
diff options
context:
space:
mode:
Diffstat (limited to 'bin/min')
-rwxr-xr-xbin/min24
1 files changed, 24 insertions, 0 deletions
diff --git a/bin/min b/bin/min
index 7868623..715f4d1 100755
--- a/bin/min
+++ b/bin/min
@@ -15,7 +15,31 @@ help() {
Options:
-h, --help show this message
+
Get the minimun number from the given values.
+
+
+ Examples:
+
+ Get the minimum number from a list:
+
+ $ min 5 3 9 9 4
+ 3
+
+ Get the minimum number when negative numbers are given
+
+ $ min -- -3 -5
+ -5
+
+ Get the minimum number given a single number
+
+ $ min 8
+ 8
+
+ The minimum default number:
+
+ $ min
+ 0
EOF
}