Skip to content

Aborts with no sensible message when two options with same name are provided #1085

@Slayer95

Description

@Slayer95
  • CLI11: Version 2.4.1
  • Windows 7
  • Compiled with MSVC 2019
  CLI::App app{AURA_APP_NAME};
  argv = app.ensure_utf8(argv);
  app.option_defaults()->ignore_case();
  app.add_option("--playing-timeout-warning-short-interval", m_GamePlayingTimeoutWarningShortInterval, "Sets the interval for the latest and most often game timeout warnings to be displayed.");
  app.add_option("--playing-timeout-warning-short-interval", m_GamePlayingTimeoutWarningLargeInterval, "Sets the interval for the earliest and rarest game timeout warnings to be displayed.");
  ...

Fields are std::optional<uint32_t>

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