Browse files

Count git help [command] as well as git [command] --help

  • Loading branch information...
1 parent e3f031b commit 839fd69e3b751ce6a5995c50740cfafc1ef7d878 @AMDmi3 committed Aug 4, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 git-achievements
View
5 git-achievements
@@ -155,7 +155,7 @@ function check_for_achievements
case $2 in
--help )
- unlock_achievement "Student" "Accessed the documentation for a command with git [command] --help"
+ unlock_achievement "Student" "Accessed the documentation for a command with git [command] --help or git help [command]"
return
;;
esac
@@ -253,6 +253,9 @@ function check_for_achievements
grep )
count_unlock_achievement "Fisherman" "Look for specified patterns in the current repository with git grep." "$command"
;;
+ help )
+ unlock_achievement "Student" "Accessed the documentation for a command with git [command] --help or git help [command]"
+ ;;
imap-send )
count_unlock_achievement "Postman" "Send a collection of patches from stdin to an IMAP folder with git imap-send" "$command"
;;

0 comments on commit 839fd69

Please sign in to comment.