Skip to content

CLI: parsing regions with negative lower bound fails. #874

@tquatmann

Description

@tquatmann

Parsing the command line switch

storm-pars --region '-1 <= x <= 1'

fails with

ERROR (SettingsManager.cpp:514): Non-optional argument <regioninput> of option:
--[region:]region (reg) <regioninput> Sets the region(s) considered for analysis. <regioninput>: The region(s) given in format a<=x<=b,c<=y<=d seperated by ';'. Can also be a file.
ERROR (cli.cpp:26): Unable to parse command line options. Type 'storm-pars --help' or 'storm-pars --help all' for help.

Apparently, the - is parsed as the beginning of a new command line switch.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions