'main': Restore 0.6.0's behaviour for unknown options.

See discussion on #664.
This commit is contained in:
Daniel Shahaf
2020-01-14 23:06:51 +00:00
committed by Daniel Shahaf
parent 5012d771f3
commit cb166dcc77
3 changed files with 10 additions and 3 deletions

View File

@@ -33,5 +33,5 @@ BUFFER='sudo --askpass ls'
expected_region_highlight=(
'1 4 precommand' # sudo
'6 14 double-hyphen-option' # --askpass
'16 17 default' # ls (we don't know whether --askpass takes an argument)
'16 17 command' # ls (we don't know whether --askpass takes an argument)
)