Commit 06b13406 authored by Julien Muchembled's avatar Julien Muchembled

Document the levels of --verbose option

parent 285c7aeb
...@@ -37,8 +37,8 @@ def getConfig(): ...@@ -37,8 +37,8 @@ def getConfig():
"- cache.db: cache of network parameters and peer addresses\n" "- cache.db: cache of network parameters and peer addresses\n"
"- babeld.state: see option -S of babeld\n") "- babeld.state: see option -S of babeld\n")
_('-v', '--verbose', default=1, type=int, metavar='LEVEL', _('-v', '--verbose', default=1, type=int, metavar='LEVEL',
help="Log level of re6stnet itself. 0 disables logging." help="Log level of re6stnet itself. 0 disables logging. 1=WARNING,"
" Use SIGUSR1 to reopen log." " 2=INFO, 3=DEBUG, 4=TRACE. Use SIGUSR1 to reopen log."
" See also --babel-verb and --verb for logs of spawned processes.") " See also --babel-verb and --verb for logs of spawned processes.")
_('-i', '--interface', action='append', dest='iface_list', default=[], _('-i', '--interface', action='append', dest='iface_list', default=[],
help="Extra interface for LAN discovery. Highly recommanded if there" help="Extra interface for LAN discovery. Highly recommanded if there"
......
...@@ -94,8 +94,8 @@ def main(): ...@@ -94,8 +94,8 @@ def main():
help="Path to re6stnet runtime directory:\n" help="Path to re6stnet runtime directory:\n"
"- babeld.sock (option -R of babeld)\n") "- babeld.sock (option -R of babeld)\n")
_('-v', '--verbose', default=1, type=int, _('-v', '--verbose', default=1, type=int,
help="Log level. 0 disables logging." help="Log level. 0 disables logging. 1=WARNING, 2=INFO,"
" Use SIGUSR1 to reopen log.") " 3=DEBUG, 4=TRACE. Use SIGUSR1 to reopen log.")
_('--min-protocol', default=version.min_protocol, type=int, _('--min-protocol', default=version.min_protocol, type=int,
help="Reject nodes that are too old. Current is %s." % version.protocol) help="Reject nodes that are too old. Current is %s." % version.protocol)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment