From: Fredrik Tolf Date: Tue, 9 Nov 2021 21:03:01 +0000 (+0100) Subject: acmecert: Fixed order invocation error. X-Git-Url: http://git.dolda2000.com/gitweb/?p=utils.git;a=commitdiff_plain;h=8cea2234ed3dbb2ab52d10429a5f272e16df1ba5 acmecert: Fixed order invocation error. --- diff --git a/acmecert b/acmecert index f10f4a3..dfc5ae3 100755 --- 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: