Skip to content

Incorrect Usage. flag provided but not defined: -version #119

@jcook-uptycs

Description

@jcook-uptycs

Describe the bug

When running git-xargs --version gives the error

Incorrect Usage. flag provided but not defined: -version

To Reproduce

[12/04/23 1:43:34] ➜  github_config git:(master) ✗ go install github.com/gruntwork-io/[email protected]
[12/04/23 1:45:07] ➜  github_config git:(master) ✗ git-xargs --version                                
Incorrect Usage. flag provided but not defined: -version

Usage: git-xargs [--loglevel] [--github-org] [--draft] [--dry-run] [--skip-pull-requests] [--skip-archived-repos]
[--repo] [--repos] [--branch-name] [--base-branch-name] [--commit-message] [--pull-request-title]
[--pull-request-description] [--reviewers] [--team-reviewers] [--seconds-between-prs] [--max-pr-retries]
[--seconds-to-wait-when-rate-limited] [--no-skip-ci] [--keep-cloned-repositories] [--help] command [options] [args]

git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.

Commands:

   help, h  Shows a list of commands or help for one command

ERROR: flag provided but not defined: -version
[12/04/23 1:45:12] ➜  github_config git:(master) ✗ 

This also happens when running

go run  github.com/gruntwork-io/[email protected] --version

Expected behavior

I would expect to get the version of git-xargs.

Nice to have

  • Terminal output
  • Screenshots

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions