docs: fix location of generated_completions (#3010)

This commit is contained in:
Vladimír Čunát 2016-05-08 13:51:30 +02:00 committed by Fabian Homborg
parent 59c8800c4d
commit 100eef4e42
2 changed files with 2 additions and 2 deletions

View file

@ -396,7 +396,7 @@ By default, Fish searches the following for completions, using the first availab
- A directory for systems administrators to install completions for all users on the system, usually `/etc/fish/completions`;
- A directory for third-party software vendors to ship their own completions for their software, usually `/usr/share/fish/vendor_completions.d`;
- The completions shipped with fish, usually installed in `/usr/share/fish/completions`; and
- Completions automatically generated from the operating system's manual, usually stored in `~/.local/share/generated_completions`.
- Completions automatically generated from the operating system's manual, usually stored in `~/.local/share/fish/generated_completions`.
These paths are controlled by parameters set at build, install, or run time, and may vary from the defaults listed above.

View file

@ -903,7 +903,7 @@ def usage(script_name):
-h, --help\t\tShow this help message
-v, --verbose [0, 1, 2]\tShow debugging output to stderr. Larger is more verbose.
-s, --stdout\tWrite all completions to stdout (trumps the --directory option)
-d, --directory [dir]\tWrite all completions to the given directory, instead of to ~/.config/fish/generated_completions
-d, --directory [dir]\tWrite all completions to the given directory, instead of to ~/.local/share/fish/generated_completions
-m, --manpath\tProcess all man1 and man8 files available in the manpath (as determined by manpath)
-p, --progress\tShow progress
""")