diff options
author | Timothy Gu <timothygu99@gmail.com> | 2013-11-28 16:57:49 -0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-30 21:17:58 +0100 |
commit | 3c5c4cfa156c5991b3a0d3824be02208c82e0292 (patch) | |
tree | cbeb8d32c5b273f499ac9e5568d7cfdd01ab552f /version.sh | |
parent | a3b9f53d7b2faa0d60fa2308351c5aef3381630f (diff) | |
download | ffmpeg-3c5c4cfa156c5991b3a0d3824be02208c82e0292.tar.gz |
version.sh: add a little usage comment
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'version.sh')
-rwxr-xr-x | version.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/version.sh b/version.sh index 62882e0f36..c28ffe7557 100755 --- a/version.sh +++ b/version.sh @@ -1,5 +1,7 @@ #!/bin/sh +# Usage: version.sh <ffmpeg-root-dir> <output-version.h> <extra-version> + # check for git short hash if ! test "$revision"; then revision=$(cd "$1" && git describe --tags --match N 2> /dev/null) |