scripts/liberty: Adding a `--debug` option.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2020-07-14 12:51:58 -07:00
parent ad3b507e38
commit 15f6966a94
1 changed files with 8 additions and 0 deletions

View File

@ -843,8 +843,16 @@ def main():
help="Include power leakage in file output.",
action='store_true',
default=False)
parser.add_argument(
"--debug",
help="Include verbose debug output on the console.",
action='store_true',
default=False)
args = parser.parse_args()
if args.debug:
global debug
debug = True
libdir = args.library_path[0]