From d282bc462578a6e47747c78d2d42883530f0d11e Mon Sep 17 00:00:00 2001 From: Mark Griffiths Date: Fri, 1 Aug 2014 03:37:32 +0100 Subject: 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. --- doc_src/exec.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'doc_src/exec.txt') 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 - exec COMMAND [OPTIONS...] +\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 -exec emacs 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. -- cgit v1.2.3