diff --git a/pkg/cmd/history.go b/pkg/cmd/history.go index bb713ae33..e390cafc4 100644 --- a/pkg/cmd/history.go +++ b/pkg/cmd/history.go @@ -50,9 +50,9 @@ The historical release set is printed as a formatted table, e.g: 3 Mon Oct 3 10:15:13 2016 superseded alpine-0.1.0 1.0 Rolled back to 2 4 Mon Oct 3 10:15:13 2016 deployed alpine-0.1.0 1.0 Upgraded successfully -Use '--show-rollback' to include a column showing the revision that was rolled back to: +Use '--show-rollback-revision' to include a column showing the revision that was rolled back to: - $ helm history angry-bird --show-rollback + $ helm history angry-bird --show-rollback-revision REVISION UPDATED STATUS CHART APP VERSION ROLLBACK DESCRIPTION 1 Mon Oct 3 10:15:13 2016 superseded alpine-0.1.0 1.0 Initial install 2 Mon Oct 3 10:15:13 2016 superseded alpine-0.1.0 1.0 Upgraded successfully @@ -92,7 +92,7 @@ func newHistoryCmd(cfg *action.Configuration, out io.Writer) *cobra.Command { f := cmd.Flags() f.IntVar(&client.Max, "max", 256, "maximum number of revision to include in history") - f.BoolVar(&showRollback, "show-rollback", false, "show the rollback revision column in table output") + f.BoolVar(&showRollback, "show-rollback-revision", false, "show the rollback revision column in table output") bindOutputFlag(cmd, &outfmt) return cmd diff --git a/pkg/cmd/history_test.go b/pkg/cmd/history_test.go index b25eaba7f..3ec59a99f 100644 --- a/pkg/cmd/history_test.go +++ b/pkg/cmd/history_test.go @@ -130,8 +130,8 @@ func TestHistoryWithRollback(t *testing.T) { rels: rels, golden: "output/history-with-rollback-no-flag.txt", }, { - name: "history with rollback revision and --show-rollback flag", - cmd: "history angry-bird --show-rollback", + name: "history with rollback revision and --show-rollback-revision flag", + cmd: "history angry-bird --show-rollback-revision", rels: rels, golden: "output/history-with-rollback.txt", }, {