diff --git a/src/cleveragents/cli/main.py b/src/cleveragents/cli/main.py index 149fa1f3c..6203a0183 100644 --- a/src/cleveragents/cli/main.py +++ b/src/cleveragents/cli/main.py @@ -84,6 +84,15 @@ def _promote_global_options(args: list[str]) -> list[str]: i += 1 continue + if arg in _GLOBAL_VALUE_SHORT_OPTIONS: + if i + 1 < length: + promoted.extend([arg, args[i + 1]]) + i += 2 + else: + remaining.append(arg) + i += 1 + continue + remaining.append(arg) i += 1