mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
create_manpage_completions: Output "-d", not "--description"
We typically use "-d" because it's shorter.
This commit is contained in:
parent
5ca527b2fe
commit
fd90482c19
@ -132,7 +132,7 @@ def output_complete_command(cmdname, args, description, output_list):
|
||||
comps = ["complete -c", cmdname]
|
||||
comps.extend(args)
|
||||
if description:
|
||||
comps.append("--description")
|
||||
comps.append("-d")
|
||||
comps.append(description)
|
||||
output_list.append(lossy_unicode(" ").join([lossy_unicode(c) for c in comps]))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user