Skip to content

Commit 26134f9

Browse files
committed
Comment new function usage() per Coding Style guide
Signed-off-by: H Dub <14808878+hdub-tech@users.noreply.github.com>
1 parent 5e9b275 commit 26134f9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ DRY_RUN=${DRY_RUN:-}
132132
REPO_ONLY=${REPO_ONLY:-0}
133133
NO_AUTOSTART=${NO_AUTOSTART:-0}
134134

135+
# Provide a helpful usage statement when --help or any invalid argument is passed
136+
# to the script. Exit code deliberately not included here as error depends on
137+
# argument provided.
135138
usage() {
136139
echo
137140
echo "USAGE: "

0 commit comments

Comments
 (0)