From 6b2388c62a426d9d50304af7fcf1763ecd9e99fd Mon Sep 17 00:00:00 2001 From: Rohan Sharma Date: Sat, 5 Jun 2021 16:39:47 +0530 Subject: [PATCH] Fix gen-driftignore --help example --- pkg/cmd/gen_driftignore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/gen_driftignore.go b/pkg/cmd/gen_driftignore.go index 6d24261d..44862086 100644 --- a/pkg/cmd/gen_driftignore.go +++ b/pkg/cmd/gen_driftignore.go @@ -16,7 +16,7 @@ func NewGenDriftIgnoreCmd() *cobra.Command { cmd := &cobra.Command{ Use: "gen-driftignore", Short: "Generate a .driftignore file based on your scan result", - Long: "This command will generate a new .driftignore file containing your current drifts and send output to /dev/stdout\n\nExample: driftctl scan -o json://stdout | driftctl gen-driftignore > .driftignore", + Long: "This command will generate a new .driftignore file containing your current drifts and send output to /dev/stdout\n\nExample: driftctl scan -o json://stdout | driftctl gen-driftignore -i /dev/stdin > .driftignore", Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { if opts.InputPath == "" {