Skip to content

Commit 9e2ad26

Browse files
committed
set e pr open as default command
1 parent 533cef9 commit 9e2ad26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/e

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ program
169169
.command('backport [pr]', 'Assists with manual backport processes')
170170
.command('show <subcommand>', 'Show info about the current build config')
171171
.command('test [specRunnerArgs...]', `Run Electron's spec runner`)
172-
.command('pr [options]', 'Open a GitHub URL where you can PR your changes')
172+
.command('pr [subcommand]', 'Open a GitHub URL where you can PR your changes')
173173
.command('patches <target>', 'Refresh the patches in $root/src/electron/patches/$target')
174174
.command('open <sha1|PR#>', 'Open a GitHub URL for the given commit hash / pull # / issue #')
175175
.command('auto-update', 'Check for build-tools updates or enable/disable automatic updates')

src/e-pr.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function pullRequestSource(source) {
138138
}
139139

140140
program
141-
.command('open')
141+
.command('open', null, { isDefault: true })
142142
.description('Open a GitHub URL where you can PR your changes')
143143
.option('-s, --source [source_branch]', 'Where the changes are coming from')
144144
.option('-t, --target [target_branch]', 'Where the changes are going to')

0 commit comments

Comments
 (0)