From 698c11b9dc174fa8952bf8c11469afa4fbbe4f55 Mon Sep 17 00:00:00 2001 From: FUJIWARA Shunichiro Date: Sat, 11 Jun 2022 00:26:20 +0900 Subject: [PATCH] rename --code-sha256 -> --code --- cmd/lambroll/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lambroll/main.go b/cmd/lambroll/main.go index a7ee5ae..333ddf1 100644 --- a/cmd/lambroll/main.go +++ b/cmd/lambroll/main.go @@ -101,7 +101,7 @@ func _main() int { diff := kingpin.Command("diff", "show display diff of function.json compared with latest function") diffOption := lambroll.DiffOption{ FunctionFilePath: function, - CodeSha256: diff.Flag("code-sha256", "diff of code sha256").Default("false").Bool(), + CodeSha256: diff.Flag("code", "diff of code sha256").Default("false").Bool(), ExcludeFile: diff.Flag("exclude-file", "exclude file").Default(lambroll.IgnoreFilename).String(), Src: diff.Flag("src", "function zip archive or src dir").Default(".").String(), }