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 $?
|
echo exit $?
|
||||||
)"
|
)"
|
||||||
else
|
else
|
||||||
dashless=$(basename "$0" | sed -e 's/-/ /')
|
dashless=$(basename -- "$0" | sed -e 's/-/ /')
|
||||||
usage() {
|
usage() {
|
||||||
die "usage: $dashless $USAGE"
|
die "usage: $dashless $USAGE"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user