Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L losscalculator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Dynamic ExposureDynamic Exposure
  • Global Dynamic ExposureGlobal Dynamic Exposure
  • losscalculator
  • Merge requests
  • !80

Make version an optional sub-argument

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Marius Kriegerowski requested to merge feature/refactor-argument-parsing into master Dec 10, 2021
  • Overview 15
  • Commits 3
  • Pipelines 7
  • Changes 2

It is rather common to have an optional argument --version in linux programs to print the plain version of the installed packages. That's what this change is doing. Also, this simplifies the argument parsing a bit.

Edited Jan 03, 2022 by Danijel Schorlemmer
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/refactor-argument-parsing