We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e05091 commit 255e347Copy full SHA for 255e347
lib/index.js
@@ -27,6 +27,8 @@ module.exports = class Core {
27
.usage('[...branches] [options]')
28
.option('-r, --remotes', 'Delete remotes branches')
29
.action((branches, options) => {
30
+ if (branches.length === 0) cli.outputHelp()
31
+
32
this.deleteBranch(branches, options)
33
})
34
0 commit comments