diff options
author | Victor Näslund <victor@sunet.se> | 2022-11-16 20:05:18 +0100 |
---|---|---|
committer | Victor Näslund <victor@sunet.se> | 2022-11-16 20:05:18 +0100 |
commit | 210467cc289e31fabef9e8eef78a07d5818d7513 (patch) | |
tree | df4538a7bf334426ed0e38fd8e64fa137fcfbc37 /src/soc_collector/soc_collector_cli.py | |
parent | 49cd9e90ae5f9a374ccd73f4a064d89729cdfb5e (diff) |
better object id handling
Diffstat (limited to 'src/soc_collector/soc_collector_cli.py')
-rw-r--r-- | src/soc_collector/soc_collector_cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc_collector/soc_collector_cli.py b/src/soc_collector/soc_collector_cli.py index 9f8c793..f9b0fad 100644 --- a/src/soc_collector/soc_collector_cli.py +++ b/src/soc_collector/soc_collector_cli.py @@ -231,7 +231,7 @@ def main() -> None: """, ) - parser.add_argument("data", default="info", help="json blob or path to file") + parser.add_argument("data", nargs="?", help="json blob or path to file") parser.add_argument( "extra_data", nargs="?", |