Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Spot Spot
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 133
    • Issues 133
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • SpotSpot
  • SpotSpot
  • Issues
  • #237
Closed
Open
Issue created Mar 01, 2017 by Alexandre Duret-Lutz@adlOwner

genltl has bogus short options

Here is an extract of the genltl --help output in 2.3.1:

 Output options:
  -!, --positive             output the positive versions of all formulas (done
                             by default, unless --negative is specified without
                             --positive)
  -", --negative, --negated  output the negated versions of all formulas
  -0, --zero-terminated-output   separate output formulas with \0 instead of \n
                             (for use with xargs -0)

The unwelcome -! and -" short options appeared as a side-effect of #80 (closed), because introducing new LTL families shifted the values of OPT_POSITIVE and OPT_NEGATIVE so they are equal to 21 (!) and 22 (").

We need to start this entire enum at 256, as done in the other tools; however be careful the family options also serve as index in a few tables.

Assignee
Assign to
Time tracking