mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
Complete: Fix long-form of "-r" in complete
output
This was never `--requires-param`, AFAICT.
This commit is contained in:
parent
6e491ad457
commit
144778dc28
2 changed files with 2 additions and 2 deletions
|
@ -1804,7 +1804,7 @@ static wcstring completion2string(const complete_entry_opt_t &o, const wcstring
|
|||
} else if (o.result_mode.force_files) {
|
||||
append_switch(out, L"force-files");
|
||||
} else if (o.result_mode.requires_param) {
|
||||
append_switch(out, L"requires-param");
|
||||
append_switch(out, L"require-parameter");
|
||||
}
|
||||
|
||||
if (is_path)
|
||||
|
|
|
@ -56,7 +56,7 @@ complete
|
|||
# CHECK: complete --force-files t -l fileoption
|
||||
# CHECK: complete --no-files t -a '(t)'
|
||||
# CHECK: complete -p '/complete test/beta1' -s Z -d 'desc, desc'
|
||||
# CHECK: complete --requires-param 'complete test beta2' -d desc\ \'\ desc2\ \[ -a 'foo bar'
|
||||
# CHECK: complete --require-parameter 'complete test beta2' -d desc\ \'\ desc2\ \[ -a 'foo bar'
|
||||
# CHECK: complete --exclusive complete_test_beta2 -o test -n false
|
||||
# CHECK: complete {{.*}}
|
||||
# CHECK: complete {{.*}}
|
||||
|
|
Loading…
Reference in a new issue