From ced74b92d12dfa2abb06cccae3af7df0ab05cc81 Mon Sep 17 00:00:00 2001 From: Alexander Blesius Date: Tue, 6 Feb 2018 21:54:33 +0100 Subject: 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. --- ranger/core/main.py | 12 ++++++------ 1 file 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', -- cgit 1.4.1-2-gfad0