diff --git a/cmd-session.go b/cmd-session.go index feafc6e7..7e64f31e 100644 --- a/cmd-session.go +++ b/cmd-session.go @@ -143,6 +143,10 @@ func sessionExecute(bar barSend, s *sessionV1) { Error: iodine.New(err, nil), }) } + console.Infos(InfoMessage{ + Message: "\nSession terminated. To resume session type ‘mc session resume " + s.SessionID + "’", + }) + // this os.Exit is needed really to exit in-case of "os.Interrupt" os.Exit(0) } } @@ -161,6 +165,9 @@ func sessionExecute(bar barSend, s *sessionV1) { Error: iodine.New(err, nil), }) } + console.Infos(InfoMessage{ + Message: "\nSession terminated. To resume session type ‘mc session resume " + s.SessionID + "’", + }) // this os.Exit is needed really to exit in-case of "os.Interrupt" os.Exit(0) } diff --git a/make.go b/make.go index 2aaeca86..30ffab35 100644 --- a/make.go +++ b/make.go @@ -51,7 +51,7 @@ var Version = {{if .Date}}"{{.Date}}"{{else}}""{{end}} // Tag is of following format // -// [[STRING]-[EPOCH] +// [STRING]-[EPOCH] // // STRING is release string of your choice. // EPOCH is unix seconds since Jan 1, 1970 UTC. @@ -129,7 +129,7 @@ func runMcRelease(ctx *cli.Context) { } t := time.Now().UTC() date := t.Format(time.RFC3339Nano) - // [[STRING]-[EPOCH]-[GITREV]] + // [STRING]-[EPOCH] // // STRING is release string of your choice. // EPOCH is unix seconds since Jan 1, 1970 UTC. diff --git a/version.go b/version.go index 3e502a12..f5d8d4fe 100644 --- a/version.go +++ b/version.go @@ -9,15 +9,15 @@ import ( ) // Version autogenerated -var Version = "2015-06-18T01:29:09.838113535Z" +var Version = "2015-06-24T21:56:09.753217354Z" // Tag is of following format // -// [[STRING]-[EPOCH] +// [STRING]-[EPOCH] // // STRING is release string of your choice. // EPOCH is unix seconds since Jan 1, 1970 UTC. -var Tag = "release-1434590949" +var Tag = "release-1435182969" // getVersion - func getVersion() string {