mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-08 06:12:50 -04:00
Rename debug to verbose in all relevant places
This commit is contained in:
parent
f7a62fe93a
commit
d5c60f8f70
5 changed files with 17 additions and 17 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue