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

Align the short and long forms into their own columns in the help output #145

Merged
merged 2 commits into from
Apr 26, 2024

Commits on Apr 18, 2024

  1. Align the short and long forms into their own columns in the help out…

    …put.
    
    This makes displaying a mixed set of parameters cleaner and easier to understand. This is in line with the behavior of common GNU tools such as rsync.
    
    Old way:
    ```
    Options:
      -i, --init        Creates a skeleton config file in the current working directory
      -v, --verbose     Enables verbose output. Twice will enable very-verbose output (good for logging)
      -y, --yes         Assume 'yes' to all questions for headless execution
      --yaml=<s>        Specify a yaml file to load
      -h, --help        Show this message
    ```
    
    New way:
    ```
    Options:
      -i, --init        Creates a skeleton config file in the current working directory
      -v, --verbose     Enables verbose output. Twice will enable very-verbose output (good for logging)
      -y, --yes         Assume 'yes' to all questions for headless execution
          --yaml=<s>    Specify a yaml file to load
      -h, --help        Show this message
    ```
    akhoury6 committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    b9a4abc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5284dd0 View commit details
    Browse the repository at this point in the history