Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 839fd69e3b751ce6a5995c50740cfafc1ef7d878 1 parent e3f031b
Dmitry Marakasov authored

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. +4 1 git-achievements
5 git-achievements
@@ -155,7 +155,7 @@ function check_for_achievements
155 155
156 156 case $2 in
157 157 --help )
158   - unlock_achievement "Student" "Accessed the documentation for a command with git [command] --help"
  158 + unlock_achievement "Student" "Accessed the documentation for a command with git [command] --help or git help [command]"
159 159 return
160 160 ;;
161 161 esac
@@ -253,6 +253,9 @@ function check_for_achievements
253 253 grep )
254 254 count_unlock_achievement "Fisherman" "Look for specified patterns in the current repository with git grep." "$command"
255 255 ;;
  256 + help )
  257 + unlock_achievement "Student" "Accessed the documentation for a command with git [command] --help or git help [command]"
  258 + ;;
256 259 imap-send )
257 260 count_unlock_achievement "Postman" "Send a collection of patches from stdin to an IMAP folder with git imap-send" "$command"
258 261 ;;

0 comments on commit 839fd69

Please sign in to comment.
Something went wrong with that request. Please try again.