Skip to content

fix(deps): update module github.com/alexflint/go-arg to v1.5.1

This MR contains the following updates:

Package Type Update Change
github.com/alexflint/go-arg require minor v1.4.3 -> v1.5.1

Release Notes

alexflint/go-arg (github.com/alexflint/go-arg)

v1.5.1

Compare Source

  • Fixes a bug introduced in v1.5.0 where bad struct tags and other parser-level initialization problems would result in a crash rather than a clean exit in MustParse (thanks @​hhromic !)

v1.5.0: Version 1.5.0

Compare Source

  • Argument structs can define Description() and Epilogue(), which are added to the usage string

  • Subcommands can have multiple aliases like this:

var args struct {
    Remove *struct{} `arg:"subcommand:remove|rm|r" help:"remove something from somewhere"`
}
  • Improves formatting of usage string when the placeholder tag is set to empty string

  • Do not handle --version when the args struct lacks a Version() function

  • Add StructSubcommands to Config struct


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by George Onoufriou

Merge request reports