summaryrefslogtreecommitdiff
path: root/libexec/rcm/rcm.sh
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2013-06-13 13:22:05 +0200
committerGravatar Mike Burns <mike@mike-burns.com>2013-06-13 13:22:05 +0200
commit2e2573fbe07d8a1750ccdda7e0a146fef55fd50d (patch)
treef7f850af86071f6b9dbfc719ba8861f4751bc8b6 /libexec/rcm/rcm.sh
parente5a1db282189a6d2a5b54c2aa14d9250e5d6b48d (diff)
Add version flag, -V
Add a flag to print the package version: `-V`. This change also brings with it the libexec directory, so we can pull common code out.
Diffstat (limited to 'libexec/rcm/rcm.sh')
-rw-r--r--libexec/rcm/rcm.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/libexec/rcm/rcm.sh b/libexec/rcm/rcm.sh
new file mode 100644
index 0000000..99262d7
--- /dev/null
+++ b/libexec/rcm/rcm.sh
@@ -0,0 +1,11 @@
+VERSION="0.0.1"
+
+version() {
+ cat << EOV
+$1 (rcm) $VERSION
+Copyright (C) 2013 Mike Burns
+License BSD: BSD 3-clause license
+
+Written by Mike Burns.
+EOV
+}