diff options
author | David Adam (zanchey) <zanchey@ucc.gu.uwa.edu.au> | 2013-05-12 15:56:01 +0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-05-13 01:48:20 -0700 |
commit | 1287b9d82382bf22e16edda67eae755f07397f2e (patch) | |
tree | 811814b029d65ac11a193e616ca4a71d216dbe0c /doc_src/status.txt | |
parent | 91aab03b90a6b583a3c0ecff5b015c6066d34f28 (diff) |
Help cleanup
Large list of changes, including formatting and typos for most commands.
More substantive changes have been made to alias, bind, block, break,
builtin, case, cd, commandline, count, else, emit, fish_config, funced,
function, functions, history, math, mimedb, nextd, not, popd, prevd,
pushd, pwd, random, read, set, set_color, switch, test, trap, type,
ulimit, umask, and while.
Diffstat (limited to 'doc_src/status.txt')
-rw-r--r-- | doc_src/status.txt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc_src/status.txt b/doc_src/status.txt index a14ee919..d6238ae3 100644 --- a/doc_src/status.txt +++ b/doc_src/status.txt @@ -6,16 +6,16 @@ \subsection status-description Description With no arguments, <tt>status</tt> displays a summary of the current login and job control status of the shell. -The following arguments are available: -- <tt>-c</tt> or <tt>--is-command-substitution</tt> returns 0 if fish is currently executing a command substitution -- <tt>-b</tt> or <tt>--is-block</tt> returns 0 if fish is currently executing a block of code -- <tt>-i</tt> or <tt>--is-interactive</tt> returns 0 if fish is interactive, i.e.connected to a keyboard -- <tt>-l</tt> or <tt>--is-login</tt> returns 0 if fish is a login shell, i.e. if fish should perform login tasks such as setting up the PATH. -- <tt>--is-full-job-control</tt> returns 0 if full job control is enabled -- <tt>--is-interactive-job-control</tt> returns 0 if interactive job control is enabled -- <tt>--is-no-job-control</tt> returns 0 if no job control is enabled -- <tt>-f</tt> or <tt>--current-filename</tt> prints the filename of the currently running script -- <tt>-n</tt> or <tt>--current-line-number</tt> prints the line number of the currently running script -- <tt>-j CONTROLTYPE</tt> or <tt>--job-control=CONTROLTYPE</tt> set the job control type. Can be one of: none, full, interactive -- <tt>-t</tt> or <tt>--print-stack-trace</tt> prints a stack trace of all function calls on the call stack -- <tt>-h</tt> or <tt>--help</tt> display a help message and exit +The following options are available: +- <tt>-c</tt> or <tt>--is-command-substitution</tt> returns 0 if fish is currently executing a command substitution. +- <tt>-b</tt> or <tt>--is-block</tt> returns 0 if fish is currently executing a block of code. +- <tt>-i</tt> or <tt>--is-interactive</tt> returns 0 if fish is interactive - that is, connected to a keyboard. +- <tt>-l</tt> or <tt>--is-login</tt> returns 0 if fish is a login shell - that is, if fish should perform login tasks such as setting up the PATH. +- <tt>--is-full-job-control</tt> returns 0 if full job control is enabled. +- <tt>--is-interactive-job-control</tt> returns 0 if interactive job control is enabled. +- <tt>--is-no-job-control</tt> returns 0 if no job control is enabled. +- <tt>-f</tt> or <tt>--current-filename</tt> prints the filename of the currently running script. +- <tt>-n</tt> or <tt>--current-line-number</tt> prints the line number of the currently running script. +- <tt>-j CONTROLTYPE</tt> or <tt>--job-control=CONTROLTYPE</tt> sets the job control type, which can be <tt>none</tt>, <tt>full</tt>, or <tt>interactive</tt>. +- <tt>-t</tt> or <tt>--print-stack-trace</tt> prints a stack trace of all function calls on the call stack. +- <tt>-h</tt> or <tt>--help</tt> displays a help message and exit. |