Aider uses -m for --message and -e for --env-file. synu was using
-m/--model and -e/--editor-model, causing ambiguity.
Now synu only accepts --model and --editor-model (long form) for aider.
Assisted-by: Claude Sonnet 4 via Crush
@@ -25,8 +25,9 @@ function _synu_aider_default --description "Get default model: _synu_aider_defau
end
function _synu_agent_aider_flags --description "Return argparse-compatible flag specification"
- echo "m/model="- echo "e/editor-model="
+ # Note: no short flags to avoid collision with aider's -m (--message) and -e (--env-file)
+ echo "model="
+ echo "editor-model="
end
function _synu_agent_aider_env_vars --description "Return list of environment variables set by configure"
@@ -36,7 +37,8 @@ end
function _synu_agent_aider_configure --description "Configure Aider environment variables and model selection"
# Parse flags passed from main synu
- argparse 'm/model=' 'e/editor-model=' -- $argv
+ # Note: no short flags to avoid collision with aider's -m (--message) and -e (--env-file)
+ argparse 'model=' 'editor-model=' -- $argv
or return 1
# Start with defaults (from cache or fallback)