summaryrefslogtreecommitdiffstats
path: root/toprammer
diff options
context:
space:
mode:
authorMichael Buesch <m@bues.ch>2012-04-26 20:47:28 +0200
committerMichael Buesch <m@bues.ch>2012-04-26 20:47:28 +0200
commit566b46592cd6d6ad453048f9aa830cd82fee9a6e (patch)
treea134ab8b8fe1464791d76994e804a5d7640cc961 /toprammer
parentf3734a705e6d81f776bf0e0621f1c75a54d31d6f (diff)
downloadtoprammer-566b46592cd6d6ad453048f9aa830cd82fee9a6e.tar.xz
toprammer-566b46592cd6d6ad453048f9aa830cd82fee9a6e.zip
Fix -I and -O parameter checks
Signed-off-by: Michael Buesch <m@bues.ch>
Diffstat (limited to 'toprammer')
-rwxr-xr-xtoprammer4
1 files changed, 2 insertions, 2 deletions
diff --git a/toprammer b/toprammer
index 77beb0a..bdec6ee 100755
--- a/toprammer
+++ b/toprammer
@@ -214,10 +214,10 @@ def main(argv):
if opt_action != "print-list" and not opt_chipID:
print "-c|--chip-id is mandatory!"
return 1
- if not opt_informat in ("auto", "bin", "ihex", "hex"):
+ if not opt_informat in ("auto", "bin", "ihex", "ahex"):
print "Invalid -I|--in-format"
return 1
- if not opt_outformat in ("bin", "ihex", "hex"):
+ if not opt_outformat in ("bin", "ihex", "ahex"):
print "Invalid -O|--out-format"
return 1
bues.ch cgit interface