mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Remove unnecessary check
This commit is contained in:
parent
e476562a46
commit
ad5365fb53
|
|
@ -46,11 +46,9 @@ main() {
|
|||
exit 0
|
||||
;;
|
||||
* )
|
||||
if [[ "${1:0:1}" == '-' ]]; then
|
||||
echo "Error: Invalid option: $1" >>/dev/stderr
|
||||
_usage
|
||||
exit 1
|
||||
fi
|
||||
echo "Error: Invalid option: $1" >>/dev/stderr
|
||||
_usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
|
|
|
|||
Loading…
Reference in a new issue