diff --git a/main.py b/main.py index 97f20afa..770fc3f6 100644 --- a/main.py +++ b/main.py @@ -57,7 +57,7 @@ if __name__ == '__main__': parser.add_argument('--compressed-jsonl', '-j', type=pathlib.Path, default=pathlib.Path(".notes.jsonl.gz"), help="Compressed JSONL formatted notes file to compute embeddings from") parser.add_argument('--embeddings', '-e', type=pathlib.Path, default=pathlib.Path(".notes_embeddings.pt"), help="File to save/load model embeddings to/from") parser.add_argument('--regenerate', action='store_true', default=False, help="Regenerate embeddings from org-mode files. Default: false") - parser.add_argument('--verbose', action='count', help="Show verbose conversion logs. Default: 0") + parser.add_argument('--verbose', action='count', default=0, help="Show verbose conversion logs. Default: 0") args = parser.parse_args() # Input Validation diff --git a/processor/org_mode/org_to_jsonl.py b/processor/org_mode/org_to_jsonl.py index 7365e0be..ad6039ae 100644 --- a/processor/org_mode/org_to_jsonl.py +++ b/processor/org_mode/org_to_jsonl.py @@ -129,7 +129,7 @@ if __name__ == '__main__': parser.add_argument('--output-file', '-o', type=pathlib.Path, required=True, help="Output file for (compressed) JSONL formatted notes. Expected file extensions: jsonl or jsonl.gz") parser.add_argument('--input-files', '-i', nargs='*', help="List of org-mode files to process") parser.add_argument('--input-filter', type=str, default=None, help="Regex filter for org-mode files to process") - parser.add_argument('--verbose', '-v', action='count', help="Show verbose conversion logs") + parser.add_argument('--verbose', '-v', action='count', default=0, help="Show verbose conversion logs, Default: 0") args = parser.parse_args() # Input Validation diff --git a/search_type/asymmetric.py b/search_type/asymmetric.py index aecaa775..2dd54f9a 100644 --- a/search_type/asymmetric.py +++ b/search_type/asymmetric.py @@ -147,7 +147,7 @@ if __name__ == '__main__': parser.add_argument('--embeddings', '-e', required=True, type=pathlib.Path, help="File to save/load model embeddings to/from") parser.add_argument('--results-count', '-n', default=5, type=int, help="Number of results to render. Default: 5") parser.add_argument('--interactive', action='store_true', default=False, help="Interactive mode allows user to run queries on the model. Default: true") - parser.add_argument('--verbose', action='count', help="Show verbose conversion logs. Default: 0") + parser.add_argument('--verbose', action='count', default=0, help="Show verbose conversion logs. Default: 0") args = parser.parse_args() # Initialize Model