scripts/liberty: Adding a `--debug` option.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
parent
ad3b507e38
commit
15f6966a94
|
@ -843,8 +843,16 @@ def main():
|
||||||
help="Include power leakage in file output.",
|
help="Include power leakage in file output.",
|
||||||
action='store_true',
|
action='store_true',
|
||||||
default=False)
|
default=False)
|
||||||
|
parser.add_argument(
|
||||||
|
"--debug",
|
||||||
|
help="Include verbose debug output on the console.",
|
||||||
|
action='store_true',
|
||||||
|
default=False)
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
if args.debug:
|
||||||
|
global debug
|
||||||
|
debug = True
|
||||||
|
|
||||||
libdir = args.library_path[0]
|
libdir = args.library_path[0]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue