fix pep8 line-length in argparser help
parent
a1fe27fc51
commit
5b5f4a5d74
|
@ -135,8 +135,9 @@ if __name__ == '__main__':
|
||||||
metavar='FILE')
|
metavar='FILE')
|
||||||
parser.add_argument('-m', '--mesh',
|
parser.add_argument('-m', '--mesh',
|
||||||
default=['bat0'], nargs='+',
|
default=['bat0'], nargs='+',
|
||||||
help='Use given batman-adv mesh interface(s) (defaults to bat0); '
|
help='Use given batman-adv mesh interface(s) (defaults'
|
||||||
'specify alfred unix socket like bat0:/run/alfred0.sock.')
|
'to bat0); specify alfred unix socket like '
|
||||||
|
'bat0:/run/alfred0.sock.')
|
||||||
parser.add_argument('-d', '--dest-dir', action='store',
|
parser.add_argument('-d', '--dest-dir', action='store',
|
||||||
help='Write output to destination directory',
|
help='Write output to destination directory',
|
||||||
required=True)
|
required=True)
|
||||||
|
@ -146,7 +147,8 @@ if __name__ == '__main__':
|
||||||
help='forget nodes offline for at least DAYS')
|
help='forget nodes offline for at least DAYS')
|
||||||
parser.add_argument('--with-rrd', dest='rrd', action='store_true',
|
parser.add_argument('--with-rrd', dest='rrd', action='store_true',
|
||||||
default=False,
|
default=False,
|
||||||
help='enable the rendering of RRD graphs (cpu intensive)')
|
help='enable the rendering of RRD graphs (cpu '
|
||||||
|
'intensive)')
|
||||||
|
|
||||||
options = vars(parser.parse_args())
|
options = vars(parser.parse_args())
|
||||||
main(options)
|
main(options)
|
||||||
|
|
Loading…
Reference in New Issue