Skip to content

agent: do not add abbreviated CLI flag forms unless explicitly requested #1797

@nathanjmcdougall

Description

@nathanjmcdougall

Lesson

When adding a new CLI flag, do not add an abbreviated (short) form (e.g. -o) unless the user explicitly requests it.

Context

In PR #, an --output-file option was added to usethis tool requirements.txt and an uninstructed -o short form was included alongside it (see src/usethis/_ui/options.py). The reviewer had to explicitly request its removal.

Impact

Unsolicited short flags increase the CLI surface area, can conflict with future flags, and do not match user intent. Only add abbreviated forms when explicitly asked to do so.

Metadata

Metadata

Labels

agentConfiguration updates for LLM coding agents

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions