diff options
author | Mark Griffiths <mark@thebespokepixel.com> | 2014-08-01 03:37:32 +0100 |
---|---|---|
committer | Mark Griffiths <mark@thebespokepixel.com> | 2014-09-03 14:43:24 +0100 |
commit | d282bc462578a6e47747c78d2d42883530f0d11e (patch) | |
tree | a6515e908d4fc1c400cb6cebaf79b1590b005804 /doc_src/exec.txt | |
parent | 1c4223889bd729ee83aa21a3450dc28f92ade641 (diff) |
Documentation update
Rework for Doxygen >1.8. Moved large parts of the documentation to a
simplified format, making use of Markdown enhancements and fixing bad
long options.
Diffstat (limited to 'doc_src/exec.txt')
-rw-r--r-- | doc_src/exec.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc_src/exec.txt b/doc_src/exec.txt index 27f6d887..75effda1 100644 --- a/doc_src/exec.txt +++ b/doc_src/exec.txt @@ -1,15 +1,17 @@ \section exec exec - execute command in current process \subsection exec-synopsis Synopsis - <tt>exec COMMAND [OPTIONS...]</tt> +\fish{syn} +exec COMMAND [OPTIONS...] +\endfish \subsection exec-description Description -\c exec replaces the currently running shell with a new command. -On successful completion, \c exec never returns. \c exec cannot be used +`exec` replaces the currently running shell with a new command. +On successful completion, `exec` never returns. `exec` cannot be used inside a pipeline. \subsection exec-example Example -<tt>exec emacs</tt> starts up the emacs text editor, and exits \c fish. +`exec emacs` starts up the emacs text editor, and exits `fish`. When emacs exits, the session will terminate. |