Commit 41d7c5b0 authored by David Johnson's avatar David Johnson

Propagate debug values.

parent 3e705a0f
......@@ -28,6 +28,9 @@ def main(args):
(options,cargs) = parser.parse_args()
libplab.debug = options.debug
libplab.verbose = options.verbose
both = True
if options.nodes and options.nodegroups:
both = True
......
......@@ -58,6 +58,9 @@ def main(args):
# parse command line options
opts, args = parser.parse_args(args[1:])
libplab.debug = opts.debug
libplab.verbose = opts.verbose
slicename = None
# make sure we were told what to do on the command line.
if len(args) == 3:
......
......@@ -25,6 +25,9 @@ def main(args):
parser = TBParser()
opts, args = parser.parse_args(args[1:])
libplab.debug = opts.debug
libplab.verbose = opts.verbose
plab = libplab.Plab()
daemon = pydaemon(pydaemon.SYSLOG)
......
......@@ -40,6 +40,9 @@ def main(args):
pid,eid = None,None
(opts, args) = parser.parse_args()
libplab.debug = opts.debug
libplab.verbose = opts.verbose
if len(args) == 2:
command,slicename = args
......
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