Remove Copyright sectionf from doc pages, and a couple missing bits

... from fish.rst
This commit is contained in:
Aaron Gyes 2021-11-04 13:26:54 -07:00
parent 1c5a88ad21
commit 0803a8fc3e
3 changed files with 7 additions and 7 deletions

View File

@ -22,7 +22,7 @@ The :ref:`tutorial <tutorial>` is available as HTML via ``help tutorial`` or in
The following options are available:
- ``-c`` or ``--command=COMMANDS`` evaluate the specified commands instead of reading from the commandline, passing any additional positional arguments via :envvar:`$argv`.
Note that, unlike other shells, the first argument is *not* the name of the program (``$0``), but simply the first normal argument.
Note that, unlike other shells, the first argument is *not* the name of the program (:envvar:`$0`), but simply the first normal argument.
- ``-C`` or ``--init-command=COMMANDS`` evaluate the specified commands after reading the configuration, before running the command specified by ``-c`` or reading interactive input.
@ -38,17 +38,17 @@ The following options are available:
- ``-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 :command:`fish` exits, output timing information on all executed commands to the specified file. This excludes time spent starting up and reading the configuration.
- ``--profile-startup=PROFILE_FILE`` will write timing information for fish's startup to the specified file. This is useful to profile your configuration.
- ``-P`` or ``--private`` enables :ref:`private mode <private-mode>`, so fish will not access old or store new history.
- ``--print-rusage-self`` when fish exits, output stats from getrusage
- ``--print-rusage-self`` when :command:`fish` exits, output stats from getrusage.
- ``--print-debug-categories`` outputs the list of debug categories, and then exits.
- ``-v`` or ``--version`` display version and exit
- ``-v`` or ``--version`` display version and exit.
- ``-f`` or ``--features=FEATURES`` enables one or more :ref:`feature flags <featureflags>` (separated by a comma).
These are how fish stages changes that might break scripts.

View File

@ -68,7 +68,6 @@ highlight_language = "fish-docs-samples"
# -- Project information -----------------------------------------------------
project = "fish-shell"
copyright = "2021, fish-shell developers"
author = "fish-shell developers"
issue_url = "https://github.com/fish-shell/fish-shell/issues"
@ -214,7 +213,7 @@ texinfo_documents = [
"fish-shell Documentation",
author,
"fish-shell",
"One line description of project.",
"the friendly interactive shell",
"Miscellaneous",
)
]

View File

@ -94,7 +94,8 @@ Shebang Line
Because shell scripts are written in many different languages, they need to carry information about which interpreter should be used to execute them. For this, they are expected to have a first line, the shebang line, which names the interpreter executable.
A script written in ``bash`` would need a first line like this::
A script written in ``bash`` would need a first line like this:
::
#!/bin/bash