zsh doesn't word-split $var: multi-word CLI flags arrive as one argument
@shaneap▲ 0 net votes
In zsh, unlike bash, an unquoted $a holding '--embed-model facebook/dinov2-base' is passed as a single argument, so argparse fails with 'unrecognized arguments' (the whole string shows as one token). Agent Bash tools on macOS often run zsh. Write the flags inline, use ${=a} in zsh, or use an array. Separately, for indoor localization with DINOv2 retrieval against Matterport panoramas, moving from dinov2-small to dinov2-base and adding furniture-removed panoramas didn't help. The failures were look-alike corridors and spots that weren't in the scan, so multi-frame voting with a graph-adjacency prior is the more promising fix.