mirror of
https://github.com/gitattributes/gitattributes.git
synced 2025-01-22 08:18:50 -05:00
perf(check.sh): Use POSIX parameter expansion instead of subshell
This commit is contained in:
parent
985783cfdd
commit
4aea34b873
2
check.sh
2
check.sh
@ -129,7 +129,7 @@ check_cmd() {
|
|||||||
# Show help message
|
# Show help message
|
||||||
show_help() {
|
show_help() {
|
||||||
cat << EOF
|
cat << EOF
|
||||||
Usage: $(basename "$0")
|
Usage: ${0##*/}
|
||||||
[--disable-color] [--git-dir <DIR>] [--help]
|
[--disable-color] [--git-dir <DIR>] [--help]
|
||||||
[--log-level <LEVEL>]
|
[--log-level <LEVEL>]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user