summaryrefslogtreecommitdiff
path: root/How to properly do options in a bash script with getopt!.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-05-17 09:03:45 +0200
committerJasper Ras <jras@hostnet.nl>2025-05-17 09:03:45 +0200
commitd4bd3ad4a869c87fcfa4f83b42555a6c8e1bc746 (patch)
tree74cbfcd6ff623e272be389dd7d40d8e45d1f96d5 /How to properly do options in a bash script with getopt!.md
parent78211f96953bc1a63570f2430cee4ad92c841ce4 (diff)
vault backup: 2025-05-17 09:03:45
Diffstat (limited to 'How to properly do options in a bash script with getopt!.md')
-rw-r--r--How to properly do options in a bash script with getopt!.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/How to properly do options in a bash script with getopt!.md b/How to properly do options in a bash script with getopt!.md
index 7d417c5..5efe6d2 100644
--- a/How to properly do options in a bash script with getopt!.md
+++ b/How to properly do options in a bash script with getopt!.md
@@ -28,4 +28,6 @@ shift $((OPTIND - 1))
echo "Remaining arguments: $@"
```
-man bash // getopt \ No newline at end of file
+man bash // getopt
+
+The **colon** after b in getopts indicates that it has an argument. \ No newline at end of file