Skip to content

Commit

Permalink
explicitly specify date format for input flags
Browse files Browse the repository at this point in the history
  • Loading branch information
rdtr committed Sep 28, 2017
1 parent 5715563 commit babd304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ var startTime, endTime time.Time

func init() {
flag.StringVar(&operation, "o", "", "operation to perform, either import or export")
flag.StringVar(&startDate, "s", "", "start date to import/export")
flag.StringVar(&endDate, "e", "", "end date to import/export")
flag.StringVar(&startDate, "s", "", "start date to import/export, YYYY-MM-DD format")
flag.StringVar(&endDate, "e", "", "end date to import/export, YYYY-MM-DD format")
flag.StringVar(&projectID, "p", "", "target project")
flag.StringVar(&dataset, "d", "", "target dataset")
flag.StringVar(&table, "t", "", "target table name")
Expand Down

0 comments on commit babd304

Please sign in to comment.