Changeset 30976

Show
Ignore:
Timestamp:
28.10.2016 14:32:25 (3 years ago)
Author:
davidb
Message:

Change to reflect changed order of command-line arguments

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/solr-extracted-features/trunk/src/main/java/org/hathitrust/PrepareForIngest.java

    r30975 r30976  
    146146            System.err.println("Need to specify either --solr-url or --output-dir otherwise generated files are not ingested/saved"); 
    147147            print_usage(formatter,options); 
     148            System.exit(1); 
    148149        } 
    149         String json_list_filename = filtered_args[0]; 
    150         String input_dir  = filtered_args[1]; 
     150         
     151        String input_dir  = filtered_args[0]; 
     152        String json_list_filename = filtered_args[1]; 
    151153        //String output_dir = filtered_args[2]; 
    152154