From 84f79517c8881770a89387dcf106b06444c8be39 Mon Sep 17 00:00:00 2001 From: maden Date: Fri, 17 Nov 2006 15:51:43 +0000 Subject: [PATCH] Add -s option --- showtags | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/showtags b/showtags index ccd47c0..162d634 100755 --- a/showtags +++ b/showtags @@ -3,16 +3,17 @@ asciiMonth=0 case "$1" in -h | -\? | --help) - echo "usage: showtags [-a]" + echo "usage: showtags [-a] [-s]" echo " Find CVS tags in this directory and subdirectories." echo " If there is a connection to psip0 (Oracle 9) you get date and time info too." echo " Specify -a to get months displayed as abbreviated text string." + echo " Specify -s to get the tagged status of files in the directory." exit 0 ;; -v | --version) echo 'Original Author: Dirk Zimoch' echo 'Last Change by $Author: maden $' - echo '$Revision: 1.7 $ $Date: 2006/11/16 12:57:05 $' + echo '$Revision: 1.8 $ $Date: 2006/11/17 15:51:43 $' echo '$Source: /cvs/G/EPICS/App/scripts/showtags,v $' exit 0 ;; @@ -20,6 +21,11 @@ case "$1" in # Display months as abbreviated month strings, not as numbers. asciiMonth=1 ;; + -s) + # Show the tagged status of the directory. + tagStatus + exit $? + ;; -*) echo "Unknown option $1. Try: -h, --help, -v, --version, -a" exit 1