X-Git-Url: https://git.distorted.org.uk/~mdw/cryptomail/blobdiff_plain/aeec1a4e3d55dd96aec8cd7135e2c8ad14ce8639..010ac9cf702352a2f3db59c7e5c178aefa9cd307:/bin/cryptomail diff --git a/bin/cryptomail b/bin/cryptomail index 54f8483..27beea2 100755 --- a/bin/cryptomail +++ b/bin/cryptomail @@ -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!'