Skip to content
Browse files

Fix error handling case for missing option argument

  • Loading branch information...
1 parent bfe7011 commit c88809a6a96e02f3053efc00d6a912d1ef902fc5 @ttencate committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 playnext
View
2 playnext
@@ -148,7 +148,7 @@ while getopts ":d:e:hf:lnpv" opt; do
exit 1
;;
:)
- usage
+ print_usage
print_error "Option -$OPTARG requires an argument"
;;
esac

0 comments on commit c88809a

Please sign in to comment.
Something went wrong with that request. Please try again.