Skip to content

Commit 33e5c55

Browse files
committed
fix: --scope is required command arguments
1 parent b663c15 commit 33e5c55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Delete branches
5555

5656
Delete remotes branches
5757

58-
#### `--scope`
58+
#### `--scope <scope>`
5959

6060
- Default: `origin`
6161
- When: `-r, --remote`

lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = class Core {
2929
})
3030

3131
if (this.isRemotes) {
32-
cli.option('--scope', 'Remote branch scope', {
32+
cli.option('--scope <scope>', 'Remote branch scope', {
3333
default: 'origin'
3434
})
3535
}

0 commit comments

Comments
 (0)