summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xtool/redmine-backporter.rb6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 765937b..edaa768 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Mar 3 16:57:39 2015 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * tool/redmine-backporter.rb: use 'b' instead of 's' for showing
+ Backport options for merger.rb.
+
Tue Mar 3 16:55:23 2015 NAKAMURA Usaku <usa@ruby-lang.org>
* tool/redmine-backporter.rb: show selected ticket number at prompt.
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb
index 9ad7870..54cb631 100755
--- a/tool/redmine-backporter.rb
+++ b/tool/redmine-backporter.rb
@@ -392,7 +392,7 @@ eom
puts res.body
end
- when 's'
+ when 'b'
# this feature implies backport command which wraps tool/merger.rb
unless @issue
puts "ticket not selected"
@@ -502,8 +502,8 @@ eom
exit
when 'help'
puts 'ls [PAGE] '.color(bold: true) + ' show all required tickets'
- puts 'show TICKET '.color(bold: true) + ' show the detail of the TICKET, and select it'
- puts 'TICKET '.color(bold: true) + ' show the backport option of the TICKET for merger.rb'
+ puts '[show] TICKET '.color(bold: true) + ' show the detail of the TICKET, and select it'
+ puts 'b '.color(bold: true) + ' show the backport option of selected ticket for merger.rb'
puts 'rel REVISION '.color(bold: true) + ' add the selected ticket as related to the REVISION'
puts 'done [TICKET] [-- NOTE]'.color(bold: true) + ' set Backport field of the TICKET to DONE'
puts 'close [TICKET] '.color(bold: true) + ' close the TICKET'