aboutsummaryrefslogtreecommitdiffstats
path: root/python/ingest_file.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/ingest_file.py')
-rwxr-xr-xpython/ingest_file.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/ingest_file.py b/python/ingest_file.py
index ad78f50..73e6a13 100755
--- a/python/ingest_file.py
+++ b/python/ingest_file.py
@@ -10,7 +10,7 @@ from sandcrawler.ingest import IngestFileRequestHandler, IngestFileWorker
def run_single_ingest(args):
request = dict(
- ingest_type=args.type,
+ ingest_type=args.ingest_type,
base_url=args.url,
ext_ids=dict(doi=args.doi),
fatcat=dict(release_ident=args.release_id),
@@ -56,7 +56,7 @@ def main():
sub_single.add_argument('--no-spn2',
action='store_true',
help="don't use live web (SPNv2)")
- sub_single.add_argument('--type',
+ sub_single.add_argument('--ingest-type',
default="pdf",
help="type of ingest (pdf, html, etc)")
sub_single.add_argument('url',