The Free Software Media System - Server Backend & API
Make help and usage setup standards-compliant
Joshua Bonifacebc18d5341c09
diff --git a/build b/buildindex f50311d0a2..9047dd816b 100755--- a/build+++ b/build@@ -32,7 +32,13 @@ usage() {echo -e "Build output files are collected at '../jellyfin-build/<platform>'."}+# Show usage on stderr with exit 1 on arglessif [[ -z $1 ]]; then+ usage >&2+ exit 1+fi+# Show usage if -h or --help are specified in the args+if [[ $@ =~ '-h' || $@ =~ '--help' ]]; thenusageexit 0fi