mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue