summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Buesch <m@bues.ch>2013-10-15 22:03:37 +0200
committerMichael Buesch <m@bues.ch>2013-10-15 22:03:37 +0200
commit773e9953a48930630d7c806172e64a82472e5098 (patch)
treece261b90243b0bffd7de61f7c7278b4a064ccd29
parent8fb29507fbdebad2fa925f73ddf863611930ac42 (diff)
downloadtoprammer-773e9953a48930630d7c806172e64a82472e5098.tar.xz
toprammer-773e9953a48930630d7c806172e64a82472e5098.zip
Only show no-action message, if verbosity is >=1
Signed-off-by: Michael Buesch <m@bues.ch>
-rwxr-xr-xtoprammer3
1 files changed, 2 insertions, 1 deletions
diff --git a/toprammer b/toprammer
index 685d4d5..0b8e470 100755
--- a/toprammer
+++ b/toprammer
@@ -304,7 +304,8 @@ def main(argv):
elif opt_action == "write-uil":
top.writeUserIdLocation(fileIn(top, opt_action, opt_file, opt_informat))
else:
- print "No action specified"
+ if opt_verbose >= 1:
+ print "No action specified"
top.shutdownChip()
except (TOPException, BitfileException, IOError), e:
print e
bues.ch cgit interface