Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #27916

Closed (moved)
(moved)
Open
Created Sep 30, 2018 by pastly@pastly

Don't print default values for arguments twice

$ sbws generate -h
[... snip ...]
  -m TORFLOW_BW_MARGIN, --torflow-bw-margin TORFLOW_BW_MARGIN
                        Cap maximum bw when scaling as Torflow. (Default:
                        0.05) (default: 0.05)
  -r TORFLOW_ROUND_DIGS, --torflow-round-digs TORFLOW_ROUND_DIGS
                        Number of most significant digits to round bw when
                        scaling as Torflow. (Default: 3) (default: 3)
  -p SECS_RECENT, --secs-recent SECS_RECENT
                        How many secs in the past are results being still
                        considered. Note this value will supersede data_period
                        in the configuration. (Default: None) (default: None)
  -a SECS_AWAY, --secs-away SECS_AWAY
                        How many secs results have to be away from each other.
                        (Default: 86400 - one day -) (default: 86400)
  -n MIN_NUM, --min-num MIN_NUM
                        Mininum number of a results to consider them.(Default:
                        2) (default: 2)

The argument parsers are ArgumentDefaultsHelpFormatter types, so the defaults are printed ... by default. No need to add them to the help strings.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking