From a23672744e8cea9f524e720048887130e14152ff Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Mon, 19 Dec 2016 13:00:09 -0700 Subject: [PATCH] fix(helm): fix rollback documentation --- cmd/helm/rollback.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cmd/helm/rollback.go b/cmd/helm/rollback.go index 7e3e1adda..0ea9e6000 100644 --- a/cmd/helm/rollback.go +++ b/cmd/helm/rollback.go @@ -27,8 +27,11 @@ import ( ) const rollbackDesc = ` -This command rolls back a release to the previous revision. -The argument of the rollback command is the name of a release. +This command rolls back a release to a previous revision. + +The first argument of the rollback command is the name of a release, and the +second is a revision (version) number. To see revision numbers, run +'helm history RELEASE'. ` type rollbackCmd struct { @@ -48,7 +51,7 @@ func newRollbackCmd(c helm.Interface, out io.Writer) *cobra.Command { } cmd := &cobra.Command{ - Use: "rollback [RELEASE]", + Use: "rollback [flags] [RELEASE] [REVISION]", Short: "roll back a release to a previous revision", Long: rollbackDesc, PersistentPreRunE: setupConnection,