diff options
| author | Ville Skyttä <ville.skytta@iki.fi> | 2011-07-10 15:25:23 +0300 |
|---|---|---|
| committer | Ville Skyttä <ville.skytta@iki.fi> | 2011-07-10 15:25:23 +0300 |
| commit | 102a19c8a29e80e34b83391fa473e8c3d4cf582d (patch) | |
| tree | eca3ab51150f519ee840bc90d73ebb9a0266ce85 /bash_completion | |
| parent | 525d6e77ba1fe30e58761cee6aa1b88978a8f77d (diff) | |
| download | bash-completion-102a19c8a29e80e34b83391fa473e8c3d4cf582d.tar.gz | |
_parse_help: Treat " or " as a separator when parsing options.
Diffstat (limited to 'bash_completion')
| -rw-r--r-- | bash_completion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash_completion b/bash_completion index eae72ebe..6c3cd736 100644 --- a/bash_completion +++ b/bash_completion @@ -728,7 +728,7 @@ _parse_help() ((^|[^-])-[A-Za-z0-9?][[:space:]]+)\[?[A-Z0-9]+\]? ]]; do line=${line/"${BASH_REMATCH[0]}"/"${BASH_REMATCH[1]}"} done - __parse_options "$line" + __parse_options "${line// or /, }" done } |
