From c9daa505917b4b3b61f5d0dbefb0ac3a6372debc Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Wed, 20 Apr 2016 16:23:47 +0200 Subject: [PATCH] browser: PATH metavar --- artiq/frontend/artiq_browser.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_browser.py b/artiq/frontend/artiq_browser.py index 3773a918b..fc59d3959 100755 --- a/artiq/frontend/artiq_browser.py +++ b/artiq/frontend/artiq_browser.py @@ -27,7 +27,8 @@ def get_argparser(): parser.add_argument("--root", default="", help="root path for directory tree " "(default %(default)s)") - parser.add_argument("PATH", nargs="?", help="browse path or file") + parser.add_argument("path", metavar="PATH", nargs="?", + help="browse path or file") verbosity_args(parser) return parser @@ -93,7 +94,7 @@ def main(): main_window.setStatusBar(status_bar) d_files = files.FilesDock(datasets_sub, main_window, args.root, - args.PATH) + args.path) smgr.register(d_files) d_applets = applets.AppletsDock(main_window, datasets_sub)