diff options
Diffstat (limited to 'tool/redmine-backporter.rb')
-rwxr-xr-x | tool/redmine-backporter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index d3f4c240ee..4c5476fa7d 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -558,7 +558,7 @@ while true break end break unless l - cmd, args = l.strip.split(/\s+/, 2) + cmd, args = l.strip.split(/\s+|\b/, 2) next unless cmd if (!args || args.empty?) && /\A\d+\z/ =~ cmd args = cmd @@ -570,7 +570,7 @@ while true cmd = list[cmd] begin if cmd - commands[cmd].call(args.to_s) + commands[cmd].call(args) else raise CommandSyntaxError end |