Make the --pdf-data argument optional

This commit is contained in:
Nielson Janné 2025-03-26 11:02:32 +01:00
parent 506857deeb
commit d37012f780

View File

@ -28,8 +28,8 @@ parser.add_argument(
"-p", "-p",
"--pdf-data", "--pdf-data",
type=Path, type=Path,
required=True,
nargs="+", nargs="+",
default=[],
help="One or multiple paths to folders or files to use for retrieval. " help="One or multiple paths to folders or files to use for retrieval. "
"If a path is a folder, all files in the folder will be used. " "If a path is a folder, all files in the folder will be used. "
"If a path is a file, only that file will be used. " "If a path is a file, only that file will be used. "