Skip to content

Commit

Permalink
primitive: process_commandline_arguments: Sort comand-line options al…
Browse files Browse the repository at this point in the history
…phabetically

For developers' convenience.

Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
  • Loading branch information
brlin-tw committed May 4, 2018
1 parent afdabe0 commit fdef02c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source Code/Shell Script(GNU Bash)(primitive).template.bash
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,15 @@ process_commandline_arguments() {
break
else
case "${parameters[0]}" in
--debug \
|-d)
enable_debug=Y
;;
--help \
|-h)
print_help;
exit 0
;;
--debug \
|-d)
enable_debug=Y
;;
*)
printf -- \
'%s: Error: Unknown command-line argument "%s"\n' \
Expand Down

0 comments on commit fdef02c

Please sign in to comment.