Skip to content

Missing visible long flag aliases in help #6067

Open
@GilShoshan94

Description

@GilShoshan94

I just found something strange, in this function sc_spec_vals for the aliases of the Command, I see we have 3 types:

  • aliases -> and we show them in the help with .get_visible_aliases()
  • short_flag_aliases -> with .get_visible_short_flag_aliases()
  • long_flag_aliases -> with .get_visible_long_flag_aliases()

The visible aliases and the short flag ones are collected, but the long flag aliases are forgotten.

Originally posted by @GilShoshan94 in #6057 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-helpArea: documentation, including docs.rs, readme, examples, etc...C-bugCategory: bugE-easyCall for participation: Experience needed to fix: Easy / not muchE-help-wantedCall for participation: Help is requested to fix this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions