Skip to content

Commit

Permalink
arg parsing bugfix
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Sablotny <[email protected]>
  • Loading branch information
susperius committed Mar 8, 2025
1 parent 345fd2f commit 968c695
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sign.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def _arguments() -> argparse.Namespace:
help="paths to pem encoded certificate files or a single file"
+ "containing a chain",
required=False,
type=list[str],
type=str,
default=[],
nargs="+",
dest="cert_chain_path",
Expand Down
3 changes: 2 additions & 1 deletion src/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ def _arguments() -> argparse.Namespace:
help="paths to PEM encoded certificate files or a single file"
+ "used as the root of trust",
required=False,
type=list[str],
nargs="+",
type=str,
default=[],
dest="root_certs",
)
Expand Down

0 comments on commit 968c695

Please sign in to comment.