diff options
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!.md | 4 |
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 |