mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-29 06:01:16 -03:00
create_manpage_completions: Output "-d", not "--description"
We typically use "-d" because it's shorter.
This commit is contained in:
@@ -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]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user