chiark / gitweb /
cryptomail: Fix stupid option name thing.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 21 Mar 2006 11:54:21 +0000 (11:54 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 21 Mar 2006 11:54:21 +0000 (11:54 +0000)
bin/cryptomail

index 54f8483..27beea2 100755 (executable)
@@ -404,7 +404,7 @@ def cmd_generate(argv):
       if c not in constraints:
         die("unknown constraint `%s'", c)
       map.setdefault(c, []).append(v)
-    elif o in ('f', '--format'):
+    elif o in ('-f', '--format'):
       format = a
     else:
       raise 'Barf!'