Skip to content

Commit fb78ab3

Browse files
authored
Change --status-events flag to --show-status-events (#2648)
1 parent 90a4278 commit fb78ab3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/cmdapply/cmdapply.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func NewRunner(ctx context.Context, factory util.Factory,
8080
"If true, install the inventory ResourceGroup CRD before applying.")
8181
c.Flags().BoolVar(&r.dryRun, "dry-run", false,
8282
"dry-run apply for the resources in the package.")
83-
c.Flags().BoolVar(&r.printStatusEvents, "status-events", false,
83+
c.Flags().BoolVar(&r.printStatusEvents, "show-status-events", false,
8484
"Print status events (always enabled for table output)")
8585
return r
8686
}

internal/cmddestroy/cmddestroy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func NewRunner(ctx context.Context, factory util.Factory,
5959
fmt.Sprintf("%q and %q.", flagutils.InventoryPolicyStrict, flagutils.InventoryPolicyAdopt))
6060
c.Flags().BoolVar(&r.dryRun, "dry-run", false,
6161
"dry-run apply for the resources in the package.")
62-
c.Flags().BoolVar(&r.printStatusEvents, "status-events", false,
62+
c.Flags().BoolVar(&r.printStatusEvents, "show-status-events", false,
6363
"Print status events (always enabled for table output)")
6464
return r
6565
}

0 commit comments

Comments
 (0)