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

Fix commandline handling #1208

Merged
merged 7 commits into from
Oct 24, 2023

Commits on Oct 11, 2023

  1. Generalize cmdline_find_option

    Make it work for more than two possible values.
    zappolowski committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    85e62f1 View commit details
    Browse the repository at this point in the history
  2. Merge multiple calls to cmdline_get_*

    Now that `cmdline_find_option` can handle more than two cases repeated
    calls to `cmdline_get_*` are not needed anymore.
    zappolowski committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    bf39c41 View commit details
    Browse the repository at this point in the history
  3. Make --print and --startup_notification appear in --help output

    Calls to `cmdline_get_*` also modify the usage string. When the entries
    for help are not the last to set up all command line arguments set up
    afterwards don't show up in the usage.
    zappolowski committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    3d19ad7 View commit details
    Browse the repository at this point in the history
  4. Make --startup_notification also available as -startup_notification

    All other options have a variant with just a single hyphen - be
    consistent.
    zappolowski committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    98452d7 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. List all variants of all options in manpage

    While at it also fix the spelling of `--startup_notification` and
    remove its argument as it is just a flag and doesn't take an argument.
    zappolowski committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    62b669a View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Configuration menu
    Copy the full SHA
    5be557b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d844e1d View commit details
    Browse the repository at this point in the history