diff options
author | hut <hut@lavabit.com> | 2012-02-12 17:12:28 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-02-12 17:12:28 +0100 |
commit | e748d5056c907c5f9e46f6824442d47231a1ad32 (patch) | |
tree | 7bae98c00cdf3a9ca46096b0845e37fc87692a32 /doc | |
parent | a0cff8b77b3a81c84661e96a1efdd5bd5d6e6eac (diff) | |
download | ranger-e748d5056c907c5f9e46f6824442d47231a1ad32.tar.gz |
core.main: Allow multiple --cmd's, add man page entry for --cmd
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ranger.1 | 6 | ||||
-rw-r--r-- | doc/ranger.pod | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1 index 06b08d50..e58008e0 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -124,7 +124,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.5.2" "10/24/2011" "ranger manual" +.TH RANGER 1 "ranger-1.5.2" "02/12/2012" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -204,6 +204,10 @@ the execution of this file type is explicitly handled in the configuration. When a filename is supplied, run it with the given \fIflags\fR to modify behavior. The execution of this file type is explicitly handled in the configuration. +.IP "\fB\-\-cmd\fR=\fIcommand\fR" 14 +.IX Item "--cmd=command" +Execute the command after the configuration has been read. Use this option +multiple times to run multiple commands. .IP "\fB\-\-version\fR" 14 .IX Item "--version" Print the version and exit. diff --git a/doc/ranger.pod b/doc/ranger.pod index 93b69999..0799f35d 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -99,6 +99,11 @@ When a filename is supplied, run it with the given I<flags> to modify behavior. The execution of this file type is explicitly handled in the configuration. +=item B<--cmd>=I<command> + +Execute the command after the configuration has been read. Use this option +multiple times to run multiple commands. + =item B<--version> Print the version and exit. |