Commit fca74633 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

ensure-dirs: Don't accept arguments



Before they would just be silently ignored.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 8d77ac10
...@@ -239,10 +239,14 @@ def Main(): ...@@ -239,10 +239,14 @@ def Main():
"""Main routine. """Main routine.
""" """
(opts, _) = ParseOptions() (opts, args) = ParseOptions()
SetupLogging(opts) SetupLogging(opts)
if args:
logging.error("No arguments are expected")
return constants.EXIT_FAILURE
if opts.full_run: if opts.full_run:
logging.info("Running in full mode") logging.info("Running in full mode")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment