diff options
author | Teddy Wing | 2017-08-20 02:15:10 +0200 |
---|---|---|
committer | Teddy Wing | 2017-08-20 02:15:10 +0200 |
commit | 08077a854a63884de619034d6762aa5b18ed2f91 (patch) | |
tree | 57b0312de3f6a47917e0ad0338a4dfdbd4ce7b1a /src | |
parent | 7ec97cd79face496f739265dcf1841f04ce1c519 (diff) | |
download | sorbot-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')
-rw-r--r-- | src/Plugin/GitHubCommit.hs | 2 |
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." } |