gruntwork-io / gruntwork-io/git-xargs

Incorrect Usage. flag provided but not defined: -version

Open
#119 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Go
Stars
1.1k
Forks
75
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

When running `git-xargs --version` gives the error
> Incorrect Usage. flag provided but not defined: -version

**To Reproduce**

```shell
[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
```shell
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**
- [x] Terminal output
- [ ] Screenshots

**Additional context**
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.