document --no-config

This commit is contained in:
Branch Vincent 2021-07-27 16:52:11 -04:00 committed by Fabian Homborg
parent 8939a71ec6
commit d8465e0a86
2 changed files with 3 additions and 0 deletions

View file

@ -29,6 +29,8 @@ The following options are available:
- ``-l`` or ``--login`` specify that fish is to run as a login shell - ``-l`` or ``--login`` specify that fish is to run as a login shell
- ``-N`` or ``--no-config`` do not read configuration files
- ``-n`` or ``--no-execute`` do not execute any commands, only perform syntax checking - ``-n`` or ``--no-execute`` do not execute any commands, only perform syntax checking
- ``-p`` or ``--profile=PROFILE_FILE`` when fish exits, output timing information on all executed commands to the specified file. This excludes time spent starting up and reading the configuration. - ``-p`` or ``--profile=PROFILE_FILE`` when fish exits, output timing information on all executed commands to the specified file. This excludes time spent starting up and reading the configuration.

View file

@ -2,6 +2,7 @@ complete -c fish -s c -l command -d "Run specified command instead of interactiv
complete -c fish -s C -l init-command -d "Run specified command before session" -x -a "(__fish_complete_command)" complete -c fish -s C -l init-command -d "Run specified command before session" -x -a "(__fish_complete_command)"
complete -c fish -s h -l help -d "Display help and exit" complete -c fish -s h -l help -d "Display help and exit"
complete -c fish -s v -l version -d "Display version and exit" complete -c fish -s v -l version -d "Display version and exit"
complete -c fish -s N -l no-config -d "Do not read configuration files"
complete -c fish -s n -l no-execute -d "Only parse input, do not execute" complete -c fish -s n -l no-execute -d "Only parse input, do not execute"
complete -c fish -s i -l interactive -d "Run in interactive mode" complete -c fish -s i -l interactive -d "Run in interactive mode"
complete -c fish -s l -l login -d "Run as a login shell" complete -c fish -s l -l login -d "Run as a login shell"