gruntwork-io / git-xargs

git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.
https://blog.gruntwork.io/introducing-git-xargs-an-open-source-tool-to-update-multiple-github-repos-753f9f3675ec
Apache License 2.0
944 stars 62 forks source link

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

Open jcook-uptycs opened 1 year ago

jcook-uptycs commented 1 year ago

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/git-xargs@v0.1.5
[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/git-xargs@v0.1.5 --version

Expected behavior

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

Nice to have

Additional context Add any other context about the problem here.