Skip to content

Commit

Permalink
fix: wrap flag repeat spec in double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiand391 committed Jan 20, 2023
1 parent 438396f commit 0d626fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/autocomplete/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ compinit;\n`
if (f.type ==='option') {
if (f.char) {
if (f.multiple) {
flagCompValue += `*{-${f.char},--${f.name}}`
flagCompValue += `"*"{-${f.char},--${f.name}}`
} else {
flagCompValue += `"(-${f.char} --${f.name})"{-${f.char},--${f.name}}`
}
Expand Down

0 comments on commit 0d626fb

Please sign in to comment.