Merge branch 'dw/shell-basename-dashdash-before-stripping-leading-dash-from-login'
* dw/shell-basename-dashdash-before-stripping-leading-dash-from-login: git-sh-setup.sh: use dashdash with basename call
This commit is contained in:
commit
8e606f97f8
@ -81,7 +81,7 @@ if test -n "$OPTIONS_SPEC"; then
|
||||
echo exit $?
|
||||
)"
|
||||
else
|
||||
dashless=$(basename "$0" | sed -e 's/-/ /')
|
||||
dashless=$(basename -- "$0" | sed -e 's/-/ /')
|
||||
usage() {
|
||||
die "usage: $dashless $USAGE"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user