From a465ac9700d2f77e6e37d8157f7209403177299a Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Mon, 25 Mar 2019 15:30:34 +1100 Subject: [PATCH] CLI flags to contain requested hyphens --- onionshare/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onionshare/__init__.py b/onionshare/__init__.py index 03961f8d..d2cc7092 100644 --- a/onionshare/__init__.py +++ b/onionshare/__init__.py @@ -55,8 +55,8 @@ def main(cwd=None): parser = argparse.ArgumentParser(formatter_class=lambda prog: argparse.HelpFormatter(prog,max_help_position=28)) parser.add_argument('--local-only', action='store_true', dest='local_only', help=strings._("help_local_only")) parser.add_argument('--stay-open', action='store_true', dest='stay_open', help=strings._("help_stay_open")) - parser.add_argument('--autostart-timer', metavar='', dest='autostart_timer', default=0, help=strings._("help_autostart_timer")) - parser.add_argument('--autostop-timer', metavar='', dest='autostop_timer', default=0, help=strings._("help_autostop_timer")) + parser.add_argument('--auto-start-timer', metavar='', dest='autostart_timer', default=0, help=strings._("help_autostart_timer")) + parser.add_argument('--auto-stop-timer', metavar='', dest='autostop_timer', default=0, help=strings._("help_autostop_timer")) parser.add_argument('--connect-timeout', metavar='', dest='connect_timeout', default=120, help=strings._("help_connect_timeout")) parser.add_argument('--stealth', action='store_true', dest='stealth', help=strings._("help_stealth")) parser.add_argument('--receive', action='store_true', dest='receive', help=strings._("help_receive"))