git-xargs icon indicating copy to clipboard operation
git-xargs copied to clipboard

Incorrect Usage. flag provided but not defined: -version

Open jcook-uptycs opened this issue 2 years ago • 0 comments

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

  • [x] Terminal output
  • [ ] Screenshots

Additional context Add any other context about the problem here.

jcook-uptycs avatar Apr 12 '23 20:04 jcook-uptycs