From fb522c2eda04062b4976a13c210cd81f56104d26 Mon Sep 17 00:00:00 2001 From: Simon Dold Date: Wed, 13 Mar 2024 15:56:55 +0100 Subject: [PATCH] add tree output --- misc/style/check-parameter-order.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/style/check-parameter-order.py b/misc/style/check-parameter-order.py index 7c6f8f657c..51de237bef 100755 --- a/misc/style/check-parameter-order.py +++ b/misc/style/check-parameter-order.py @@ -175,6 +175,9 @@ def compare_component_parameters(cc_file, args): def main(): print(str(subprocess.run(["pwd"], stdout=subprocess.PIPE).stdout)) + # print(str(subprocess.run(["tree", "-L", "3"], stdout=subprocess.PIPE).stdout)) + tree = subprocess.run(["tree", "-L", "4"], stdout=subprocess.PIPE, text=True) + print(tree.stdout) args = parse_args() errors = [] for cc_file in args.cc_file: