From cc0052c6e5dd9cd3911de4c401856ae006196dea Mon Sep 17 00:00:00 2001 From: future-mano Date: Sat, 1 Oct 2022 12:48:08 +0900 Subject: [PATCH] fix cli bugs --- cli/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/main.go b/cli/main.go index 502cde2..3516cd5 100644 --- a/cli/main.go +++ b/cli/main.go @@ -27,7 +27,7 @@ var ( compareCommand = app.Command("compare", "Compare database to excel file") compareFile = compareCommand.Arg("file", "Target excel file path (e.g. want.xlsx)").Required().NoEnvar().ExistingFile() - enableDumpCSVCompare = loadCommand.Flag("enableDumpCSV", "Enable excel file dump to csv for code review or version history").NoEnvar().Bool() + enableDumpCSVCompare = compareCommand.Flag("enableDumpCSV", "Enable excel file dump to csv for code review or version history").NoEnvar().Bool() ) func Main() {