summary refs log tree commit diff stats
path: root/doc/ranger.pod
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2018-03-31 16:43:07 +0200
committertoonn <toonn@toonn.io>2018-03-31 17:32:04 +0200
commit4d9d271d458aa65a69a897ab26a64771fd63f056 (patch)
tree562f456dfe8ab4b0bd222b0b400475d8145d7b2e /doc/ranger.pod
parent2288a40b45ccdc57d287648c96c5bbe378b95a6d (diff)
downloadranger-4d9d271d458aa65a69a897ab26a64771fd63f056.tar.gz
Added positional arguments section to manpage
The optional positional argument "path" wasn't documented, changed the
argument to "path ..." because you can provide more than one and documented
what happens.

Added a sentence to the `--selectfile` item pointing out it's superceded
by the positional arguments.
Diffstat (limited to 'doc/ranger.pod')
-rw-r--r--doc/ranger.pod17
1 files changed, 15 insertions, 2 deletions
diff --git a/doc/ranger.pod b/doc/ranger.pod
index 8599a1a6..470eaa7e 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -14,7 +14,7 @@ B<ranger> [B<--version>] [B<--help>] [B<--debug>] [B<--clean>]
 [B<--choosedir>=I<target>] [B<--selectfile>=I<filepath>]
 [B<--show-only-dirs>]
 [B<--list-unused-keys>] [B<--list-tagged-files>=I<tag>]
-[B<--profile>] [B<--cmd>=I<command>] [I<path>]
+[B<--profile>] [B<--cmd>=I<command>] [I<path ...>]
 
 
 
@@ -53,6 +53,18 @@ The section I<LINKS> of this man page contains further resources.
 
 
 
+=head1 POSITIONAL ARGUMENTS
+
+=over 14
+
+=item I<path ...>
+
+Each path will be opened in a tab and if the path is a file it will be selected.
+Omitting this is equivalent to providing the current directory.
+
+
+
+
 =head1 OPTIONS
 
 =over 14
@@ -117,7 +129,8 @@ write the last visited directory into I<targetfile>.
 
 =item B<--selectfile>=I<targetfile>
 
-Open ranger with I<targetfile> selected.
+Open ranger with I<targetfile> selected. This is a legacy option, superseded by
+the behavior for the POSITIONAL ARGUMENTS.
 
 =item B<--show-only-dirs>