Skip to content

Commit e6deb56

Browse files
committed
Add support for additional options in getopt for mr.bash
1 parent c89a3c6 commit e6deb56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mr.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ function mr::main {
432432
local org='' repo='' user='' labels='' token='' group='' dotenv='' count='' opts=''
433433

434434
# parse options into variables
435-
getopt_output="$(getopt -o h -l help,enterprise:,org:,repo:,user:,labels:,token:,group:,dotenv:,count: -n "$FILE_THIS" -- "$@")"
435+
getopt_output="$(getopt -o h -l help,enterprise:,org:,repo:,user:,labels:,token:,group:,dotenv:,count:,opts: -n "$FILE_THIS" -- "$@")"
436436
log::failed $? "getopt failed!" || return $?
437437
eval set -- "$getopt_output"
438438

0 commit comments

Comments
 (0)