Update all bin-scripts to include a description.

The description will always be on the third line.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
This commit is contained in:
Jacob Kiers
2014-04-30 11:06:35 +02:00
parent 4fc8d0f296
commit 4ec08fcd76
7 changed files with 17 additions and 9 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh
# Open a GitHub file/blog page for FILE on LINE.
## Usage: git-open FILE [LINE]
## Open GitHub file/blob page for FILE on LINE. FILE is the path to the
## file on disk; it must exist and be tracked with the current HEAD
@ -83,4 +85,4 @@ url="http://github.com/$repo/blob/$branch/$path"
# throw the line number on there if specified
test -n "$LINE" && url="$url#L$LINE"
open "$url"
open "$url"