summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libtoprammer/chip.py4
-rwxr-xr-xtoprammer2
2 files changed, 5 insertions, 1 deletions
diff --git a/libtoprammer/chip.py b/libtoprammer/chip.py
index fcf0b4c..ae6761c 100644
--- a/libtoprammer/chip.py
+++ b/libtoprammer/chip.py
@@ -474,6 +474,10 @@ class ChipDescription:
def dump(self, fd, verbose=1):
"Dump information about a registered chip to file fd."
+ if verbose <= 0:
+ fd.write(self.chipID)
+ return
+
def wrline(prefix, content):
# Write a formatted feature line
fd.write("%15s: %s\n" % (prefix, content))
diff --git a/toprammer b/toprammer
index c240a1c..685d4d5 100755
--- a/toprammer
+++ b/toprammer
@@ -63,7 +63,7 @@ def usage():
print ""
print "Other options:"
print " -t|--list Print a list of supported chips and exit."
- print " Use -V|--verbose to control the list verbosity (1-4)"
+ print " Use -V|--verbose to control the list verbosity (0-4)"
print " -d|--device DEVID Use a specific programmer. For USB:"
print " usb:BUSNR.DEVNR"
print " First found programmer is used, if not given."
bues.ch cgit interface