Sitelet https://github.com/Fantom-foundation/go-opera/commit/e9f1e655de4b97d5256863e0f6964967b4df4be5
Skip to content

Commit e9f1e65

Browse files
committed
rm unused templates
1 parent 08522fd commit e9f1e65

1 file changed

Lines changed: 1 addition & 32 deletions

File tree

‎flags/helpers.go‎

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,11 @@ SUBCOMMANDS:
3636
{{end}}
3737
{{end}}{{end}}`
3838

39-
OriginCommandHelpTemplate = `{{.Name}}{{if .Subcommands}} command{{end}}{{if .Flags}} [command options]{{end}} [arguments...]
40-
{{if .Description}}{{.Description}}
41-
{{end}}{{if .Subcommands}}
42-
SUBCOMMANDS:
43-
{{range .Subcommands}}{{.Name}}{{with .ShortName}}, {{.}}{{end}}{{ "\t" }}{{.Usage}}
44-
{{end}}{{end}}{{if .Flags}}
45-
OPTIONS:
46-
{{range $.Flags}} {{.}}
47-
{{end}}
48-
{{end}}`
49-
5039
// AppHelpTemplate is the test template for the default, global app help topic.
5140
AppHelpTemplate = `NAME:
5241
{{.App.Name}} - {{.App.Usage}}
5342
54-
Copyright 2013-2019 The go-ethereum Authors
43+
Copyright 2020-2021 The go-opera Authors
5544
5645
USAGE:
5746
{{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}}
@@ -69,26 +58,6 @@ COMMANDS:
6958
{{range .Flags}}{{.}}
7059
{{end}}
7160
{{end}}{{end}}{{if .App.Copyright }}
72-
COPYRIGHT:
73-
{{.App.Copyright}}
74-
{{end}}
75-
`
76-
// ClefAppHelpTemplate is the template for the default, global app help topic.
77-
ClefAppHelpTemplate = `NAME:
78-
{{.App.Name}} - {{.App.Usage}}
79-
80-
Copyright 2013-2019 The go-ethereum Authors
81-
82-
USAGE:
83-
{{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}}
84-
{{if .App.Version}}
85-
COMMANDS:
86-
{{range .App.Commands}}{{join .Names ", "}}{{ "\t" }}{{.Usage}}
87-
{{end}}{{end}}{{if .FlagGroups}}
88-
{{range .FlagGroups}}{{.Name}} OPTIONS:
89-
{{range .Flags}}{{.}}
90-
{{end}}
91-
{{end}}{{end}}{{if .App.Copyright }}
9261
COPYRIGHT:
9362
{{.App.Copyright}}
9463
{{end}}

0 commit comments

Comments
 (0)