diff options
author | hut <hut@lavabit.com> | 2010-06-09 13:11:06 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-06-09 13:11:06 +0200 |
commit | aefd8048d2b246c0111ac1227ade2a9a9d38c35c (patch) | |
tree | 89e4b939878df48375def317c2225ba6cf917efd /doc | |
parent | 57deeb86a73e527e7de3881cd5aa1488629695cf (diff) | |
download | ranger-aefd8048d2b246c0111ac1227ade2a9a9d38c35c.tar.gz |
renamed "--fail-if-run" to the more accurate "--fail-unless-cd"
The old name, --fail-if-run, is still valid and working.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ranger.1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1 index b197d774..39c33973 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -33,9 +33,9 @@ Activate the clean mode: Ranger will not access or create any configuration files nor will it leave any traces on your system. This is useful when your configuration is broken, when you want to avoid clutter, etc. .TP ---fail-if-run +--fail-unless-cd Return the exit code 1 if ranger is used to run a file, for example with -`ranger --fail-if-run filename`. This can be useful for scripts. +`ranger --fail-unless-cd filename`. This can be useful for scripts. .TP -r \fIdir\fR, --confdir=\fIdir\fR Define a different configuration directory. The default is $HOME/.ranger. @@ -176,7 +176,7 @@ of your parent shell after exiting ranger: .nf ranger() { - command ranger --fail-if-run $@ && + command ranger --fail-unless-cd $@ && cd "$(grep \\^\\' ~/.ranger/bookmarks | cut -b3-)" } .\"----------------------------------------- |