Permalink
Browse files

Merge pull request #1 from Testlio/master

Make sure overwrite flag is actually valid
  • Loading branch information...
2 parents 2e59ae5 + c82ff3f commit acc5f498e928ba4487db3aff9f9a7ef4a4348f55 @gwatts committed May 25, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.go
View
@@ -177,7 +177,7 @@ func main() {
})
app.Command("load", "Load a table dump from S3 or file to a DynamoDB table", func(cmd *cli.Cmd) {
- cmd.Spec = "[-mpw] (--filename | --stdin | (--s3-bucket --s3-prefix)) TABLENAME"
+ cmd.Spec = "[-mpw] [--allow-overwrite] (--filename | --stdin | (--s3-bucket --s3-prefix)) TABLENAME"
action := &loader{
tableName: cmd.StringArg("TABLENAME", "", "Table name to load into"),
allowOverwrite: cmd.BoolOpt("allow-overwrite", false, "Set to true to overwrite any existing rows"),

0 comments on commit acc5f49

Please sign in to comment.