summaryrefslogtreecommitdiff
path: root/asp.in
diff options
context:
space:
mode:
Diffstat (limited to 'asp.in')
-rw-r--r--asp.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/asp.in b/asp.in
index 2f18e58..9077617 100644
--- a/asp.in
+++ b/asp.in
@@ -1,5 +1,6 @@
#!/bin/bash
+ASP_VERSION=@ASP_VERSION@
ARCH_GIT_REPOS=(packages community)
OPT_ARCH=$(uname -m)
@@ -14,7 +15,7 @@ m4_include(archweb.inc.sh)
usage() {
cat<<EOF
-asp [OPTIONS...] {COMMAND} ...
+asp $ASP_VERSION [OPTIONS...] {COMMAND} ...
Manage build sources for Arch packages.
@@ -69,7 +70,7 @@ __require_argc() {
}
version() {
- printf 'asp v0\n'
+ printf 'asp %s\n' "$ASP_VERSION"
}
update_all() {