Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cmd): print shortHelp if longHelp is empty #1011

Merged
merged 1 commit into from
Aug 3, 2023

Commits on Aug 1, 2023

  1. chore(cmd): print shortHelp if longHelp is empty

    Currenlty, `shortHelp` is used when the command is listed from its
    parent command, and `longHelp` is used when the command is executed with
    its help flag.
    
    What I found a little annoying is if `longHelp` is not provided, which
    is the case for the majority of commands, there's no text at all when
    the command is invoked with the help flag.
    
    This change ensures the `shortHelp` is printed if `longHelp` is empty.
    tbruyelle committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    b9cf465 View commit details
    Browse the repository at this point in the history