diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-28 20:34:48 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-01-05 12:26:35 -0700 |
commit | f62cea0e205c905632be3aefa82b10ef36ce8a25 (patch) | |
tree | 8057b53a42d1f148c8704173282bbced8a132d82 /tools/dtoc/main.py | |
parent | 67b5ec54a5c19452c7aa33c693f281cc18a37d09 (diff) |
dtoc: Use None to mean stdout
At present dtoc uses '-' internally to mean that output should go to
stdout. This is not necessary and None is more convenient. Update it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/dtoc/main.py')
-rwxr-xr-x | tools/dtoc/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dtoc/main.py b/tools/dtoc/main.py index b94d9c301f..7686c8784d 100755 --- a/tools/dtoc/main.py +++ b/tools/dtoc/main.py @@ -91,7 +91,7 @@ parser.add_option('-d', '--dtb-file', action='store', help='Specify the .dtb input file') parser.add_option('--include-disabled', action='store_true', help='Include disabled nodes') -parser.add_option('-o', '--output', action='store', default='-', +parser.add_option('-o', '--output', action='store', help='Select output filename') parser.add_option('-P', '--processes', type=int, help='set number of processes to use for running tests') |