diff options
author | Mike Burns <mike@mike-burns.com> | 2013-06-13 13:22:05 +0200 |
---|---|---|
committer | Mike Burns <mike@mike-burns.com> | 2013-06-13 13:22:05 +0200 |
commit | 2e2573fbe07d8a1750ccdda7e0a146fef55fd50d (patch) | |
tree | f7f850af86071f6b9dbfc719ba8861f4751bc8b6 /libexec/rcm/rcm.sh | |
parent | e5a1db282189a6d2a5b54c2aa14d9250e5d6b48d (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.sh | 11 |
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 +} |