summaryrefslogtreecommitdiffstats
path: root/git-amb
diff options
context:
space:
mode:
Diffstat (limited to 'git-amb')
-rw-r--r--git-amb/Makefile-files2
-rwxr-xr-xgit-amb/git-amb.in (renamed from git-amb/git-amb)7
2 files changed, 8 insertions, 1 deletions
diff --git a/git-amb/Makefile-files b/git-amb/Makefile-files
index 7113d91..2aa4aeb 100644
--- a/git-amb/Makefile-files
+++ b/git-amb/Makefile-files
@@ -1,6 +1,6 @@
# -*- makefile -*-
bin_SCRIPTS += git-amb/git-amb
-EXTRA_DIST += git-amb/git-amb
+EXTRA_DIST += git-amb/git-amb.in
UPLOAD_FILES += git-amb/git-amb
man_MANS += git-amb/git-amb.1
diff --git a/git-amb/git-amb b/git-amb/git-amb.in
index 433667a..0cd9ee6 100755
--- a/git-amb/git-amb
+++ b/git-amb/git-amb.in
@@ -23,6 +23,13 @@
# Known to work and tested with
# - git 1.5.3.4
+case "$1" in
+ -V|--version)
+ echo "$self (@PACKAGE_NAME@) @PACKAGE_VERSION@"
+ exit 0
+ ;;
+esac
+
USAGE="<command> [params...]"
LONG_USAGE="\