diff options
author | Samuel Walladge <samuel@swalladge.id.au> | 2017-02-03 21:43:08 +1030 |
---|---|---|
committer | nfnty <git@nfnty.se> | 2017-02-05 09:44:03 +0100 |
commit | 24dd1af4f0bd05ad781e0f79723df2b07cb70218 (patch) | |
tree | a1433f40cc1a871d65da8f11d5511810bedf4b5d /doc/rifle.pod | |
parent | 3fe5f92984e1361d06170e3b6a420ec93a041aaa (diff) | |
download | ranger-24dd1af4f0bd05ad781e0f79723df2b07cb70218.tar.gz |
rifle: Add new option flag `-c`
Diffstat (limited to 'doc/rifle.pod')
-rw-r--r-- | doc/rifle.pod | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/rifle.pod b/doc/rifle.pod index ea04c5ee..7241f6b5 100644 --- a/doc/rifle.pod +++ b/doc/rifle.pod @@ -8,7 +8,7 @@ rifle - ranger's file opener =head1 SYNOPSIS B<rifle> [B<--help>] [B<-f> I<FLAGS>] [B<-l>] [B<-p> I<KEYWORD>] -[B<-w> I<PROGRAM>] I<files> +[B<-w> I<PROGRAM>] [B<-c> I<CONFIG_FILE>] I<files> @@ -53,6 +53,10 @@ I<KEYWORD> is either the ID number listed by C<rifle -l> or a string that matche Open the files with the program I<PROGRAM> +=item B<-c> I<CONFIG_FILE> + +Read configuration from I<CONFIG_FILE>, instead of the default. + =item B<-h>, B<--help> Print a list of options and exit. @@ -65,8 +69,9 @@ Print a list of options and exit. =head1 FILES rifle shares configuration files with ranger, though ranger is not required in -order to use rifle. The configuration file F<rifle.conf> is expected to be at -F<~/.config/ranger/rifle.conf>. +order to use rifle. The default configuration file F<rifle.conf> is expected +to be at F<~/.config/ranger/rifle.conf>. However, this can be overridden with +the B<-c> option. This file specifies patterns for determining the commands to open files with. The syntax is described in the comments of the default F<rifle.conf> that ships |