Skip to content

Commit

Permalink
makedvd: add OPTIND=1 to while getopts
Browse files Browse the repository at this point in the history
  • Loading branch information
Database committed Apr 8, 2013
1 parent d08b5b1 commit 8c2cf7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions makedvd
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ usage(){
}

# command-line options to set mediaid and original variables
OPTIND=1
while getopts ":hm:f:v:" opt; do
case "$opt" in
h) usage ;;
Expand Down

0 comments on commit 8c2cf7c

Please sign in to comment.