aboutsummaryrefslogtreecommitdiffstats
path: root/src/Plugin
diff options
context:
space:
mode:
authorTeddy Wing2017-08-20 02:15:10 +0200
committerTeddy Wing2017-08-20 02:15:10 +0200
commit08077a854a63884de619034d6762aa5b18ed2f91 (patch)
tree57b0312de3f6a47917e0ad0338a4dfdbd4ce7b1a /src/Plugin
parent7ec97cd79face496f739265dcf1841f04ce1c519 (diff)
downloadsorbot-08077a854a63884de619034d6762aa5b18ed2f91.tar.bz2
GitHubCommit: Change `command` format
Use lowercase and brackets instead of a shell-style capitalised identifier. In the help output, this looks better to me. Inspired by Hubot.
Diffstat (limited to 'src/Plugin')
-rw-r--r--src/Plugin/GitHubCommit.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Plugin/GitHubCommit.hs b/src/Plugin/GitHubCommit.hs
index 9c32462..c10abf6 100644
--- a/src/Plugin/GitHubCommit.hs
+++ b/src/Plugin/GitHubCommit.hs
@@ -17,7 +17,7 @@ import Plugin.Base
gitHubCommit = Plugin
{ matchRegex = "^[0-9a-f]{40}$"
, perform = gitHubCommitAction
- , command = "GIT_SHA"
+ , command = "<git_sha>"
, description = "Generate a commit URL based on the given SHA."
}