Permalink
Browse files

added default value to help for -t option

  • Loading branch information...
1 parent 2e03839 commit 920556b5366d66e8b1410d521146839bd352288e @ramalho ramalho committed Sep 7, 2011
Showing with 1 addition and 8 deletions.
  1. +1 −1 isis2json.py
  2. +0 −7 test.sh
View
@@ -193,7 +193,7 @@ def writeJsonArray(iterRecords, file_name, output, qty, skip, id_tag,
' one per line for bulk insert to MongoDB via mongoimport utility')
parser.add_argument(
'-t', '--type', type=int, metavar='ISIS_JSON_TYPE', default=1,
- help='ISIS-JSON type, sets field structure: 1=string, 2=alist, 3=dict')
+ help='ISIS-JSON type, sets field structure: 1=string, 2=alist, 3=dict (default=1)')
parser.add_argument(
'-q', '--qty', type=int, default=DEFAULT_QTY,
help='maximum quantity of records to read (default=ALL)')
View
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-PYTHONPATH=../isisdm/:$PYTHONPATH
-
-python isis2json.py -t $1 ../fixtures/lilacs1/LILACS.iso
-
-#jython isis2json.py -t $1 ../fixtures/lilacs1/LILACS.mst

0 comments on commit 920556b

Please sign in to comment.