Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 884
    • Issues 884
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 53
    • Merge requests 53
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • GLib
  • Issues
  • #1418

Closed
Open
Created Jun 14, 2018 by Nathan Miller@nmiller

goption: Option parsing recognizes group options with three dashes

Group options specified with three dashes (i.e. ---foo 42) on the command line are recognized by goption, but main entry options are not.

The issue stems from the '--<group>-<option>' handling in g_option_context_parse.

Not sure if this would be considered expected behavior, but the "fix" is trivial (I'll open a PR shortly).

Edited Jun 14, 2018 by Nathan Miller
Assignee
Assign to
Time tracking