Fix command line output (#1786)

This commit is contained in:
Rafael Weinstein
2016-06-10 15:33:30 -07:00
committed by GitHub
parent 6cc5b22b32
commit 61d4996125

View File

@@ -41,7 +41,7 @@ func main() {
name = flag.String("name", "Row", "struct name. The user-visible name to give to the struct type that will hold each row of data.")
columnTypes = flag.String("column-types", "", "a comma-separated list of types representing the desired type of each column. if absent all types default to be String")
noProgress = flag.Bool("no-progress", false, "prevents progress from being output if true")
destType = flag.String("dest-type", "list", "the destination type to import to. can be 'list' or 'map:<pk>', where <pk> is the name of the column that is a the unique identifier for the column")
destType = flag.String("dest-type", "list", "the destination type to import to. can be 'list' or 'map:<pk>', where <pk> is the index position (0-based) of the column that is a the unique identifier for the column")
destTypePattern = regexp.MustCompile("^(list|map):(\\d+)$")
)