Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make script/dependabot --help actually work #5881

Merged
merged 1 commit into from
Oct 14, 2022

Conversation

deivid-rodriguez
Copy link
Contributor

Without this change I get

$ script/dependabot --help
Error: unknown command "/Users/deivid/Code/dependabot/dependabot-core/.core-bash_history:/home/dependabot/.bash_history" for "dependabot"
Run 'dependabot --help' for usage.

With this change

$ script/dependabot --help
Run Dependabot jobs from the command line.

Usage:
  dependabot [command]

Examples:
$ dependabot update go_modules rsc/quote --dry-run
$ dependabot test -f input.yml

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  test        Test scenarios
  update      Perform update job

Flags:
  -h, --help                   help for dependabot
      --proxy-image string     container image to use for the proxy (default "ghcr.io/github/dependabot-update-job-proxy/dependabot-update-job-proxy:latest")
      --temp-dir string        path to the temporary directory for the job (default "tmp")
      --updater-image string   container image to use for the updater (default "ghcr.io/dependabot/dependabot-updater:latest")
  -v, --version                version for dependabot

Use "dependabot [command] --help" for more information about a command.

@deivid-rodriguez deivid-rodriguez requested a review from a team as a code owner October 13, 2022 07:59
Without this change I get

```
$ script/dependabot --help
Error: unknown command "/Users/deivid/Code/dependabot/dependabot-core/.core-bash_history:/home/dependabot/.bash_history" for "dependabot"
Run 'dependabot --help' for usage.
```

With this change

```
$ script/dependabot --help
Run Dependabot jobs from the command line.

Usage:
  dependabot [command]

Examples:
$ dependabot update go_modules rsc/quote --dry-run
$ dependabot test -f input.yml

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  test        Test scenarios
  update      Perform update job

Flags:
  -h, --help                   help for dependabot
      --proxy-image string     container image to use for the proxy (default "ghcr.io/github/dependabot-update-job-proxy/dependabot-update-job-proxy:latest")
      --temp-dir string        path to the temporary directory for the job (default "tmp")
      --updater-image string   container image to use for the updater (default "ghcr.io/dependabot/dependabot-updater:latest")
  -v, --version                version for dependabot

Use "dependabot [command] --help" for more information about a command.

```
@deivid-rodriguez deivid-rodriguez merged commit 1b07d21 into main Oct 14, 2022
@deivid-rodriguez deivid-rodriguez deleted the deivid-rodriguez/dependabot-help branch October 14, 2022 17:06
@pavera pavera mentioned this pull request Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants