Skip to content

Capital -V for version is a bit odd #215

@tecosaur

Description

@tecosaur

It's nice that Comonicon automatically adds support for --version, but the "short flag" is not what I expected. I think -V is slightly non-standard, or at least much rarer than -v for --version, e.g.

~$ firefox -v
Mozilla Firefox 102.0.1
~$ plasmashell -v
plasmashell 5.25.2
~$ julia -v
julia version 1.7.3
~$ zotero -v
Zotero Zotero 6.0.4

Some commands do seem to grab -v (e.g. bash, cat, and others), however they tend to only offer --version and not use -V as a substitute.

With this all in mind, I think it might be more intuitive if Comonicon always offered --version, and then adds -v (not -V) automatically when it hasn't already been assigned to something else. Does this sound possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions