acmecert: Fixed order invocation error.
authorFredrik Tolf <fredrik@dolda2000.com>
Tue, 9 Nov 2021 21:03:01 +0000 (22:03 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Tue, 9 Nov 2021 21:03:01 +0000 (22:03 +0100)
acmecert

index f10f4a3..dfc5ae3 100755 (executable)
--- a/acmecert
+++ b/acmecert
@@ -330,7 +330,7 @@ commands["acct-info"] = cmd_acct_info
 
 def cmd_order(args):
     "usage: acmecert order ACCOUNT-FILE CSR [OUTPUT-FILE]"
-    if len(args) < 4: raise usageerr()
+    if len(args) < 3: raise usageerr()
     with maybeopen(args[1], "r") as fp:
         acct = account.read(fp)
     with maybeopen(args[2], "r") as fp: