forked from TrueCloudLab/lego
CLI help indentation. (#898)
This commit is contained in:
parent
dac7c11895
commit
72a9baf027
3 changed files with 472 additions and 472 deletions
|
@ -26,7 +26,7 @@ func createDNSHelp() cli.Command {
|
|||
func dnsHelp(ctx *cli.Context) error {
|
||||
code := ctx.String("code")
|
||||
if code == "" {
|
||||
w := tabwriter.NewWriter(os.Stdout, 0, 8, 1, '\t', 0)
|
||||
w := tabwriter.NewWriter(os.Stdout, 0, 0, 2, ' ', 0)
|
||||
|
||||
fmt.Fprintln(w, `Credentials for DNS providers must be passed through environment variables.`)
|
||||
fmt.Fprintln(w)
|
||||
|
|
|
@ -79,7 +79,7 @@ func allDNSCodes() string {
|
|||
}
|
||||
|
||||
func displayDNSHelp(name string) {
|
||||
w := tabwriter.NewWriter(os.Stdout, 0, 8, 1, '\t', 0)
|
||||
w := tabwriter.NewWriter(os.Stdout, 0, 0, 2, ' ', 0)
|
||||
switch name {
|
||||
|
||||
case "acme-dns":
|
||||
|
|
|
@ -25,7 +25,7 @@ func allDNSCodes() string {
|
|||
}
|
||||
|
||||
func displayDNSHelp(name string) {
|
||||
w := tabwriter.NewWriter(os.Stdout, 0, 8, 1, '\t', 0)
|
||||
w := tabwriter.NewWriter(os.Stdout, 0, 0, 2, ' ', 0)
|
||||
switch name {
|
||||
{{ range $provider := .Providers }}
|
||||
case "{{ $provider.Code }}":
|
||||
|
|
Loading…
Reference in a new issue