More work in --silent support.

Signed-off-by: Simon Hausmann <hausmann@kde.org>
This commit is contained in:
Simon Hausmann 2007-02-22 09:22:36 +01:00
parent 161958cc2f
commit 47e33ec082

View File

@ -42,7 +42,8 @@ for o, a in opts:
silent= True
if len(args) == 0 and len(globalPrefix) != 0:
print "[using previously specified depot path %s]" % globalPrefix
if not silent:
print "[using previously specified depot path %s]" % globalPrefix
elif len(args) != 1:
print "usage: %s //depot/path[@revRange]" % sys.argv[0]
print "\n example:"