Skip to content

Commit

Permalink
make "note" a synonym for "comment"
Browse files Browse the repository at this point in the history
  • Loading branch information
dougmcbride committed Nov 10, 2009
1 parent 7133b7a commit 3bc8904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trakbot.rb
Expand Up @@ -61,7 +61,7 @@ def initialize(options)
"story name|estimate <text>: Update the story",
"story story_type feature|bug|chore|release: Update the story",
"story current_state unstarted|started|finished|delivered|rejected|accepted: Update the story",
"comment <text>: Add a comment to the story",
"comment|note <text>: Add a comment to the story",
"finished: List finished stories in the project",
"deliver finished: Deliver (and display) all finished stories",
"new feature|chore|bug|release <name>: Create a story in the project's Icebox with given name",
Expand Down Expand Up @@ -125,7 +125,7 @@ def initialize(options)
end
end,

%w[comment (.+)].to_regexp =>
%w[(?:comment|note) (.+)].to_regexp =>
lambda do |nick, event, match|
begin
user = User.for_nick nick
Expand Down

0 comments on commit 3bc8904

Please sign in to comment.