Skip to content

Commit

Permalink
Add support for additional options in getopt for mr.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
vbem committed Feb 11, 2025
1 parent c89a3c6 commit e6deb56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mr.bash
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ function mr::main {
local org='' repo='' user='' labels='' token='' group='' dotenv='' count='' opts=''

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

Expand Down

0 comments on commit e6deb56

Please sign in to comment.