Skip to content

Commit

Permalink
Support the --help flag
Browse files Browse the repository at this point in the history
  • Loading branch information
tpenguinltg committed Jun 27, 2018
1 parent 28f6ed6 commit 0e47849
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ OPTIONS
EOF
}

[ -z "${*##*--help*}" ] && { print_usage >&3; exit 0; }
while getopts r:h opt; do
case $opt in
r)
Expand Down

0 comments on commit 0e47849

Please sign in to comment.