Skip to content

Commit 59fca53

Browse files
committed
refactor(_parse_{help,usage}): remove redundant quote/dequote
1 parent c555c96 commit 59fca53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bash_completion

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ _parse_help()
10971097
shopt -s lastpipe
10981098
set -o noglob
10991099
1100-
eval local cmd="$(quote "$1")"
1100+
local cmd=$1
11011101
local line rc=1
11021102
{
11031103
case $cmd in
@@ -1134,7 +1134,7 @@ _parse_usage()
11341134
shopt -s lastpipe
11351135
set -o noglob
11361136
1137-
eval local cmd="$(quote "$1")"
1137+
local cmd=$1
11381138
local line match option i char rc=1
11391139
{
11401140
case $cmd in

0 commit comments

Comments
 (0)