diff options
author | Alexander Blesius <alexander+git@blesius.eu> | 2018-02-06 21:54:33 +0100 |
---|---|---|
committer | Alexander Blesius <alexander+git@blesius.eu> | 2018-02-06 21:54:33 +0100 |
commit | ced74b92d12dfa2abb06cccae3af7df0ab05cc81 (patch) | |
tree | e17b37f4117b813962ce7d074943577945125ba2 | |
parent | 03dae5f034cad6103d432c2882943a610cd80a33 (diff) | |
download | ranger-ced74b92d12dfa2abb06cccae3af7df0ab05cc81.tar.gz |
change PATH to OUTFILE to avoid confusion
The metavar "PATH" is likely being confused with the environment variable PATH. OUTFILE makes it clearer that the "PATH" in question is a file.
-rw-r--r-- | ranger/core/main.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ranger/core/main.py b/ranger/core/main.py index a96b24a1..99a32750 100644 --- a/ranger/core/main.py +++ b/ranger/core/main.py @@ -267,17 +267,17 @@ def parse_arguments(): parser.add_option('--copy-config', type='string', metavar='which', help="copy the default configs to the local config directory. " "Possible values: all, rc, rifle, commands, commands_full, scope") - parser.add_option('--choosefile', type='string', metavar='PATH', + parser.add_option('--choosefile', type='string', metavar='OUTFILE', help="Makes ranger act like a file chooser. When opening " "a file, it will quit and write the name of the selected " - "file to PATH.") - parser.add_option('--choosefiles', type='string', metavar='PATH', + "file to OUTFILE.") + parser.add_option('--choosefiles', type='string', metavar='OUTFILE', help="Makes ranger act like a file chooser for multiple files " "at once. When opening a file, it will quit and write the name " - "of all selected files to PATH.") - parser.add_option('--choosedir', type='string', metavar='PATH', + "of all selected files to OUTFILE.") + parser.add_option('--choosedir', type='string', metavar='OUTFILE', help="Makes ranger act like a directory chooser. When ranger quits" - ", it will write the name of the last visited directory to PATH") + ", it will write the name of the last visited directory to OUTFILE") parser.add_option('--selectfile', type='string', metavar='filepath', help="Open ranger with supplied file selected.") parser.add_option('--show-only-dirs', action='store_true', |