Print help when osc-batch-submit is run without parameters

This commit is contained in:
2025-05-23 12:52:09 +02:00
parent 2d44e243a7
commit 01c31c2b38

View File

@@ -96,6 +96,10 @@ remove-cache
options = main_parser.parse_args()
if not options.command:
main_parser.print_help()
sys.exit(1)
self.command = options.command
if getattr(options, 'config_file', None):