feat: add shorthand for --bucket to influx delete (#259)

This commit is contained in:
Dane Strandboge 2021-09-08 15:26:34 -05:00 committed by GitHub
parent 1ec4e1590b
commit 76e9ed68d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,10 @@
This release upgrades the project to `go` version 1.17.
### Features
1. [259](https://github.com/influxdata/influx-cli/pull/259): Add `-b` shorthand for `--bucket` to `delete`
### Bug Fixes
1. [221](https://github.com/influxdata/influx-cli/pull/221): Fix shell completion for top-level `influx` commands.

View File

@ -33,7 +33,7 @@ func newDeleteCmd() cli.Command {
Value: &params.BucketID,
},
&cli.StringFlag{
Name: "bucket",
Name: "bucket, b",
Usage: "The name of the bucket to delete from",
EnvVar: "INFLUX_BUCKET_NAME",
Destination: &params.BucketName,