mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
browser: PATH metavar
This commit is contained in:
parent
89772c6461
commit
c9daa50591
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user