mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 03:21:16 -03:00
complete.rst: clarify in synopsis that -c/-p take an argument
Correct the grammar by moving the options after the command argument. Also group the -c/--command and -p/--path pairs, to convey that the short and long variants are equivalent. While at it, consolidate the -C/--do-complete forms, like we usually do.
This commit is contained in:
@@ -6,8 +6,8 @@ complete - edit command specific tab-completions
|
||||
Synopsis
|
||||
--------
|
||||
|
||||
``complete`` **-c** | **--command** | **-p** | **--path** [*options*] *COMMAND*
|
||||
``complete`` **-C** *STRING* | **--do-complete** *STRING*
|
||||
``complete`` ((**-c** | **--command**) | (**-p** | **--path**)) *COMMAND* [*options*]
|
||||
``complete`` ((**-C** | **--do-complete**)) *STRING*
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
Reference in New Issue
Block a user