You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by iu...@apache.org on 2021/09/06 07:56:20 UTC

[brooklyn-client] branch master updated: Removing offending fields from template

This is an automated email from the ASF dual-hosted git repository.

iuliana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-client.git


The following commit(s) were added to refs/heads/master by this push:
     new 4e976cc  Removing offending fields from template
     new ea4337e  Merge pull request #88 from jcabrerizo/fix/help-template
4e976cc is described below

commit 4e976cca0db9f20ce881ff3ee40e9213e95069e9
Author: Juan Cabrerizo <ju...@cloudsoft.io>
AuthorDate: Fri Sep 3 19:17:15 2021 +0100

    Removing offending fields from template
---
 cli/app/app.go | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/cli/app/app.go b/cli/app/app.go
index 3ba0a95..fea7214 100644
--- a/cli/app/app.go
+++ b/cli/app/app.go
@@ -138,11 +138,10 @@ USAGE:
    {{.Name}} {{if .Flags}}[global options] {{end}}command{{if .Flags}} [command options]{{end}} [arguments...]
 
 VERSION:
-   {{.Version}}{{if or .Author .Email}}
+   {{.Version}}{{if .Authors}}
 
-AUTHOR:{{if .Author}}
-  {{.Author}}{{if .Email}} - <{{.Email}}>{{end}}{{else}}
-  {{.Email}}{{end}}{{end}}
+AUTHOR:
+  {{.Authors}}{{end}}
 
 
 SCOPES:
@@ -161,7 +160,7 @@ COMMANDS:
    releases.  If not otherwise specified, "SCOPE" below means application or entity scope.  If an entity scope is not
    specified, the application entity is used as a default.
 
-   {{range .Commands}}{{.Name}}{{with .ShortName}}, {{.}}{{end}}{{ "\t" }}{{.Description}}
+   {{range .Commands}}{{.Name}}{{ "\t" }}{{.Description}}
    {{end}}{{if .Flags}}
 GLOBAL OPTIONS:
    {{range .Flags}}{{.}}