mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-25 17:45:26 +00:00
use metavar to change the output of --help by optparse
This commit is contained in:
parent
358b5f4b19
commit
3c24d72489
@ -135,11 +135,11 @@ def start_daemon():
|
||||
help="Port daemon will listen on", action="store", type="int")
|
||||
parser.add_option("-i", "--interface", dest="interface",
|
||||
help="Interface daemon will listen for bittorrent connections on, \
|
||||
this should be an IP address",
|
||||
this should be an IP address", metavar="IFACE",
|
||||
action="store", type="str")
|
||||
parser.add_option("-u", "--ui-interface", dest="ui_interface",
|
||||
help="Interface daemon will listen for UI connections on, this should be\
|
||||
an IP address", action="store", type="str")
|
||||
an IP address", metavar="IFACE", action="store", type="str")
|
||||
parser.add_option("-d", "--do-not-daemonize", dest="donot",
|
||||
help="Do not daemonize", action="store_true", default=False)
|
||||
parser.add_option("-c", "--config", dest="config",
|
||||
|
Loading…
x
Reference in New Issue
Block a user