summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-17 22:34:24 +0100
committerhut <hut@lavabit.com>2013-02-17 22:54:18 +0100
commit7e21fb55d06fda57db1f300840498a2855477cc5 (patch)
treeb1a4431fd462e6358c9ee1a645dd3e29c6a64d9b /doc
parenta4e8f6e5961e043f059ea1eef9962d970d233591 (diff)
downloadranger-7e21fb55d06fda57db1f300840498a2855477cc5.tar.gz
core.main: made --fail-unless-cd deprecated
Instead of launching ranger for opening files, simply use rifle.
Diffstat (limited to 'doc')
-rw-r--r--doc/ranger.18
-rw-r--r--doc/ranger.pod7
2 files changed, 3 insertions, 12 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index 0deac56e..d83ebeca 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "RANGER 1"
-.TH RANGER 1 "ranger-1.5.5" "01/01/2013" "ranger manual"
+.TH RANGER 1 "ranger-1.5.5" "02/17/2013" "ranger manual"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -134,7 +134,7 @@ ranger \- visual file manager
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 \&\fBranger\fR [\fB\-\-help\fR] [\fB\-\-version\fR] [\fB\-\-debug\fR] [\fB\-\-clean\fR]
-[\fB\-\-list\-unused\-keys\fR] [\fB\-\-fail\-unless\-cd\fR] [\fB\-\-choosedir\fR=\fItargetfile\fR]
+[\fB\-\-list\-unused\-keys\fR] [\fB\-\-choosedir\fR=\fItargetfile\fR]
 [\fB\-\-choosefile\fR=\fItargetfile\fR] [\fB\-\-copy\-config\fR=\fIfile\fR] [\fB\-\-mode\fR=\fImode\fR]
 [\fB\-\-flags\fR=\fIflags\fR] [\fIpath/filename\fR]
 .SH "DESCRIPTION"
@@ -195,10 +195,6 @@ use the key code returned by \f(CW\*(C`getch()\*(C'\fR.
 .IX Item "--list-tagged-files=tag"
 List all files which are tagged with the given tag.  Note: Tags are single
 characters.  The default tag is \*(L"*\*(R"
-.IP "\fB\-\-fail\-unless\-cd\fR" 14
-.IX Item "--fail-unless-cd"
-Return the exit code 1 if ranger is used to run a file instead of used for file
-browsing. (For example, \*(L"ranger \-\-fail\-unless\-cd test.txt\*(R" returns 1.)
 .IP "\fB\-m\fR \fIn\fR, \fB\-\-mode\fR=\fIn\fR" 14
 .IX Item "-m n, --mode=n"
 When a filename is supplied, run it in mode \fIn\fR.  This has no effect unless
diff --git a/doc/ranger.pod b/doc/ranger.pod
index a06bc6ca..a5b1fed6 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -8,7 +8,7 @@ ranger - visual file manager
 =head1 SYNOPSIS
 
 B<ranger> [B<--help>] [B<--version>] [B<--debug>] [B<--clean>]
-[B<--list-unused-keys>] [B<--fail-unless-cd>] [B<--choosedir>=I<targetfile>]
+[B<--list-unused-keys>] [B<--choosedir>=I<targetfile>]
 [B<--choosefile>=I<targetfile>] [B<--copy-config>=I<file>] [B<--mode>=I<mode>]
 [B<--flags>=I<flags>] [I<path/filename>]
 
@@ -88,11 +88,6 @@ use the key code returned by C<getch()>.
 List all files which are tagged with the given tag.  Note: Tags are single
 characters.  The default tag is "*"
 
-=item B<--fail-unless-cd>
-
-Return the exit code 1 if ranger is used to run a file instead of used for file
-browsing. (For example, "ranger --fail-unless-cd test.txt" returns 1.)
-
 =item B<-m> I<n>, B<--mode>=I<n>
 
 When a filename is supplied, run it in mode I<n>.  This has no effect unless