Skip to content

Commit

Permalink
Fix config flag
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcl committed Jul 18, 2024
1 parent da503b4 commit 049d537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration-tests/citool/cmd/csv_export_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var csvExportCmd = &cobra.Command{

func init() {
csvExportCmd.Flags().StringP("file", "f", "", "Path to YML file")
err := csvExportCmd.MarkFlagRequired("config")
err := csvExportCmd.MarkFlagRequired("file")
if err != nil {
fmt.Fprintf(os.Stderr, "Error: %v\n", err)
os.Exit(1)
Expand Down

0 comments on commit 049d537

Please sign in to comment.