mirror of
https://github.com/entropia/paperless-asn-qr-codes.git
synced 2024-06-13 02:00:00 +00:00
Add default value for the output_file
argument
This commit is contained in:
parent
14cd97e1e2
commit
267c5c7011
|
@ -23,7 +23,7 @@ def main():
|
||||||
description="CLI Tool for generating paperless ASN labels with QR codes",
|
description="CLI Tool for generating paperless ASN labels with QR codes",
|
||||||
)
|
)
|
||||||
parser.add_argument("start_asn", type=int, help="The value of the first ASN")
|
parser.add_argument("start_asn", type=int, help="The value of the first ASN")
|
||||||
parser.add_argument("output_file", type=str, help="The output file to write to")
|
parser.add_argument("output_file", type=str, default="labels.pdf", help="The output file to write to (default: labels.pdf)")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--format", choices=avery_labels.labelInfo.keys(), default="averyL4731"
|
"--format", choices=avery_labels.labelInfo.keys(), default="averyL4731"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue