[vlc-commits] macOS build.sh: Handle default case while parsing options

David Fuhrmann git at videolan.org
Tue Jan 2 20:01:05 CET 2018


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Tue Jan  2 19:58:50 2018 +0100| [892664eb74216779093a8bc27019b29d62d7cc38] | committer: David Fuhrmann

macOS build.sh: Handle default case while parsing options

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=892664eb74216779093a8bc27019b29d62d7cc38
---

 extras/package/macosx/build.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/extras/package/macosx/build.sh b/extras/package/macosx/build.sh
index 54c77f34cc..5f675a70bc 100755
--- a/extras/package/macosx/build.sh
+++ b/extras/package/macosx/build.sh
@@ -94,6 +94,10 @@ do
          b)
              BREAKPAD=$OPTARG
          ;;
+         *)
+             usage
+             exit 1
+         ;;
      esac
 done
 shift $(($OPTIND - 1))



More information about the vlc-commits mailing list