Before they would just be silently ignored.
---
lib/tools/ensure_dirs.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/lib/tools/ensure_dirs.py b/lib/tools/ensure_dirs.py
index 4c4e7a1..c762575 100644
--- a/lib/tools/ensure_dirs.py
+++ b/lib/tools/ensure_dirs.py
@@ -239,10 +239,14 @@ def Main():
"""Main routine.
"""
- (opts, _) = ParseOptions()
+ (opts, args) = ParseOptions()
SetupLogging(opts)
+ if args:
+ logging.error("No arguments are expected")
+ return constants.EXIT_FAILURE
+
if opts.full_run:
logging.info("Running in full mode")
--
1.7.7.3