From 938a4d682c53127066df5bb8ff4effa61913285d Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 9 Jun 2025 10:17:53 +0200 Subject: [PATCH] minimize args --- bin/streaming/telecaster.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/streaming/telecaster.py b/bin/streaming/telecaster.py index 9047a3f..f30c4e7 100755 --- a/bin/streaming/telecaster.py +++ b/bin/streaming/telecaster.py @@ -279,9 +279,9 @@ class TeleCaster(Thread): def main(): description ="""Start a TeleCaster streaming server""" parser = argparse.ArgumentParser(description=description) - parser.add_argument("--config", help="config file", type=str) - parser.add_argument("--verbose", help="verbose", action="store_true") - parser.add_argument("--dry-run", help="dry run", action="store_true") + parser.add_argument("-c", "--config", help="config file", type=str) + parser.add_argument("-v", "--verbose", help="verbose", action="store_true") + parser.add_argument("-d", "--dry-run", help="dry run", action="store_true") args = vars(parser.parse_args()) if os.path.exists(DEFAULT_CONFIG_FILE) and not args["config"]: args['config'] = DEFAULT_CONFIG_FILE -- 2.39.5