Update git helper usage

This commit is contained in:
Scott Lahteine
2020-01-05 01:24:28 -06:00
parent 31679640c0
commit a484adcb30
5 changed files with 12 additions and 12 deletions

View File

@ -1,11 +1,11 @@
#!/usr/bin/env bash
#
# mfpr [1|2]
# mfpr [1|2|3]
#
# Make a PR against bugfix-1.1.x or bugfix-2.0.x
#
[[ $# < 2 && $1 != "-h" && $1 != "--help" ]] || { echo "usage: `basename $0` [branch]" 1>&2 ; exit 1; }
[[ $# < 2 && $1 != "-h" && $1 != "--help" ]] || { echo "usage: `basename $0` [1|2|3] [branch]" 1>&2 ; exit 1; }
MFINFO=$(mfinfo "$@") || exit 1
IFS=' ' read -a INFO <<< "$MFINFO"