Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 839fd69e3b751ce6a5995c50740cfafc1ef7d878 1 parent e3f031b
Dmitry Marakasov authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 git-achievements
5 git-achievements
View
@@ -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"
;;
Please sign in to comment.
Something went wrong with that request. Please try again.