fix to work with the case default issue is used

This commit is contained in:
NARUSE, Yui 2023-02-01 22:49:19 +09:00
parent 62146d3cee
commit 269c5d408f

View File

@ -422,7 +422,7 @@ eom
},
"done" => proc{|args|
raise CommandSyntaxError unless /\A(\d+)?(?: by (\h+))?(?:\s*-- +(.*))?\z/ =~ args
raise CommandSyntaxError unless /\A(\d+)?(?: *by (\h+))?(?:\s*-- +(.*))?\z/ =~ args
notes = $3
notes.strip! if notes
rev = $2