File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -85,9 +85,22 @@ init(){
85
85
}; declare -fr init
86
86
87
87
print_help (){
88
- printf \
89
- ' Currently no help messages are available for this program\n' \
90
- 1>&2
88
+ # Backticks in help message is Markdown's <code> markup
89
+ # shellcheck disable=SC2016
90
+ {
91
+ printf ' # Help Information for %s #\n' \
92
+ " ${RUNTIME_COMMANDLINE_BASECOMMAND} "
93
+ printf ' ## SYNOPSIS ##\n'
94
+ printf ' * `"%s" _command-line_options_`\n\n' \
95
+ " ${RUNTIME_COMMANDLINE_BASECOMMAND} "
96
+
97
+ printf ' ## COMMAND-LINE OPTIONS ##\n'
98
+ printf ' ### `-h` / `--help` ###\n'
99
+ printf ' Print this message\n\n'
100
+
101
+ printf ' ### `-d` / `--debug` ###\n'
102
+ printf ' Enable script debugging\n\n'
103
+ }
91
104
return 0
92
105
}; declare -fr print_help;
93
106
You can’t perform that action at this time.
0 commit comments