aboutsummaryrefslogtreecommitdiff
path: root/bin/min
diff options
context:
space:
mode:
Diffstat (limited to 'bin/min')
-rwxr-xr-xbin/min6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/min b/bin/min
index 715f4d1..fcb685d 100755
--- a/bin/min
+++ b/bin/min
@@ -12,9 +12,12 @@ usage() {
help() {
cat <<-'EOF'
+
Options:
-h, --help show this message
+ NUMBER the list of numbers to get the min from
+
Get the minimun number from the given values.
@@ -26,16 +29,19 @@ help() {
$ 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