Просмотр исходного кода

Update message to align with UI.

Mariano Cano 5 лет назад
Родитель
Сommit
b1f59586ab
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      commands/app.go
  2. 1 1
      pki/pki.go

+ 1 - 1
commands/app.go

@@ -75,7 +75,7 @@ func appAction(ctx *cli.Context) error {
 
 
 To get a linked authority token:
 To get a linked authority token:
   1. Log in or create a Certificate Manager account at ` + "\033[1mhttps://u.step.sm/linked\033[0m" + `
   1. Log in or create a Certificate Manager account at ` + "\033[1mhttps://u.step.sm/linked\033[0m" + `
-  2. Add a new authority with "linked" type
+  2. Add a new authority and select "Link a step-ca instance"
   3. Follow instructions in browser to start 'step-ca' using the '--token' flag
   3. Follow instructions in browser to start 'step-ca' using the '--token' flag
 `)
 `)
 		}
 		}

+ 1 - 1
pki/pki.go

@@ -600,7 +600,7 @@ func (p *PKI) askFeedback() {
 		ui.Println()
 		ui.Println()
 		ui.Println("\033[1mNEXT STEPS\033[0m")
 		ui.Println("\033[1mNEXT STEPS\033[0m")
 		ui.Println("  1. Log in or create a Certificate Manager account at \033[1mhttps://u.step.sm/linked\033[0m")
 		ui.Println("  1. Log in or create a Certificate Manager account at \033[1mhttps://u.step.sm/linked\033[0m")
-		ui.Println("  2. Add a new authority with \"linked\" type")
+		ui.Println("  2. Add a new authority and select \"Link a step-ca instance\"")
 		ui.Println("  3. Follow instructions in browser to start `step-ca` using the `--token` flag")
 		ui.Println("  3. Follow instructions in browser to start `step-ca` using the `--token` flag")
 		ui.Println()
 		ui.Println()
 	}
 	}