Skip to content

-f means --file after a subcommand but --config-file before it #386

Description

@dbosk

Context

Multi-agent bug-fix campaign; noticed in #348.

Observation

content.nw and four quizzes.nw sites declare -f/--file on subparsers; the global parser has -f/--config-file. Different dests, so no value clobbering — but the same short flag changes meaning with position on the command line.

Suggested follow-up

Decide whether to keep (documented quirk) or rename one side; the #348 invariant test deliberately ignores this case since dests differ.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions