Skip to content

Commit

Permalink
fix: description for kv:bulk delete <filename>
Browse files Browse the repository at this point in the history
The description for the `kv:bulk delete` command was wrong, it was probably copied earlier from the `kv:bulk put` command. This PR fixes the mistake.
  • Loading branch information
threepointone authored and petebacondarwin committed Jan 18, 2022
1 parent 54945c8 commit 00e51cd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .changeset/serious-coins-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"wrangler": patch
---

fix: description for `kv:bulk delete <filename>`

The description for the `kv:bulk delete` command was wrong, it was probably copied earlier from the `kv:bulk put` command. This PR fixes the mistake.
4 changes: 2 additions & 2 deletions packages/wrangler/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1855,11 +1855,11 @@ export async function main(argv: string[]): Promise<void> {
)
.command(
"delete <filename>",
"Upload multiple key-value pairs to a namespace",
"Delete multiple key-value pairs from a namespace",
(yargs) => {
return yargs
.positional("filename", {
describe: `The JSON file of key-value pairs to upload, in form ["key1", "key2", ...]`,
describe: `The JSON file of keys to delete, in the form ["key1", "key2", ...]`,
type: "string",
})
.option("binding", {
Expand Down

0 comments on commit 00e51cd

Please sign in to comment.