Skip to content

Commit ff7ddbb

Browse files
author
ashariyar
committed
put back --debug
1 parent e620943 commit ff7ddbb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pdfalyzer/util/cli_tools_argument_parser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def parse_combine_pdfs_args() -> Namespace:
8989
)
9090

9191
extract_pdf_parser.add_argument('pdf_file', metavar='PDF_FILE', help='PDF to extract pages from')
92+
extract_pdf_parser.add_argument('--debug', action='store_true', help='turn on debug level logging')
9293

9394
extract_pdf_parser.add_argument('--page-range', '-r',
9495
type=page_range_validator,
@@ -124,6 +125,7 @@ def parse_pdf_page_extraction_args() -> Namespace:
124125
)
125126

126127
extract_text_parser.add_argument('file_or_dir', nargs='+', metavar='FILE_OR_DIR')
128+
extract_text_parser.add_argument('--debug', action='store_true', help='turn on debug level logging')
127129

128130
extract_text_parser.add_argument('--page-range', '-r',
129131
type=page_range_validator,

0 commit comments

Comments
 (0)