summaryrefslogtreecommitdiff
path: root/onionshare_gui
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2019-04-18 19:53:21 -0700
committerMicah Lee <micah@micahflee.com>2019-04-18 19:53:21 -0700
commit758c6405614462faf68b34dc3ae23f40464da4bb (patch)
treeb194c7c5995a25c32fab01a7854ee5e224c60a41 /onionshare_gui
parentd25d97095a6dd4246100d33620ec31c0e2813507 (diff)
downloadonionshare-758c6405614462faf68b34dc3ae23f40464da4bb.tar.gz
onionshare-758c6405614462faf68b34dc3ae23f40464da4bb.zip
Rename debug to verbose in all relevant places
Diffstat (limited to 'onionshare_gui')
-rw-r--r--onionshare_gui/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/onionshare_gui/__init__.py b/onionshare_gui/__init__.py
index 675bb52d..828d5ee3 100644
--- a/onionshare_gui/__init__.py
+++ b/onionshare_gui/__init__.py
@@ -81,7 +81,7 @@ def main():
# Parse arguments
parser = argparse.ArgumentParser(formatter_class=lambda prog: argparse.HelpFormatter(prog,max_help_position=48))
parser.add_argument('--local-only', action='store_true', dest='local_only', help=strings._("help_local_only"))
- parser.add_argument('--debug', action='store_true', dest='debug', help=strings._("help_debug"))
+ parser.add_argument('-v', '--verbose', action='store_true', dest='verbose', help=strings._("help_verbose"))
parser.add_argument('--filenames', metavar='filenames', nargs='+', help=strings._('help_filename'))
parser.add_argument('--config', metavar='config', default=False, help=strings._('help_config'))
args = parser.parse_args()
@@ -98,10 +98,10 @@ def main():
strings.load_strings(common)
local_only = bool(args.local_only)
- debug = bool(args.debug)
+ verbose = bool(args.verbose)
- # Debug mode?
- common.debug = debug
+ # Verbose mode?
+ common.verbose = verbose
# Validation
if filenames: