diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-10-29 22:42:41 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-10-29 22:42:41 +0200 |
commit | 0b42100bfaf1a237c6254a9737ec5d7623f77840 (patch) | |
tree | af395b154b275232d5fd8553b4c64e51b6d4c961 | |
parent | 71f58b274b4a13771c52c987f2ef58d9be59f68f (diff) |
add -v (version) option
Signed-off-by: Florian Pritz <bluewind@xssn.at>
-rwxr-xr-x | fb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -109,7 +109,7 @@ usage: [cat |] `basename "$0"` [switches] [options] [<file(s)|ID(s)|folder(s)>] ! } -while getopts "e:gdhtc" OPTION; do +while getopts "e:gdhtcv" OPTION; do case $OPTION in e) EXTENSION="$OPTARG";; g) GET=1;; @@ -124,6 +124,7 @@ while getopts "e:gdhtc" OPTION; do ;; t) TAR=1;; d) DELETE=1;; + v) echo "$VERSION"; exit 0;; h|\?) help; exit 0;; esac done |