lib/git/pr/cli_options.rb in git-pr-0.0.2 vs lib/git/pr/cli_options.rb in git-pr-0.0.3
- old
+ new
@@ -34,9 +34,13 @@
opts.banner = "Usage: git pr #{subcommand} [options]"
case subcommand
when 'help', '-h', 'version'
# no specific options
when 'list'
+ opts.on('-a', '--all',
+ 'Show pull requests for all repositories') do
+ self.profile = :all
+ end
opts.on('-m', '--mine',
'Show only my pull requests') do
self.mine = true
end
opts.on('-p', '--profile PROFILE',