This commit is contained in:
Neil Alexander 2020-10-20 14:12:14 +01:00
parent 33056062ec
commit 374c11a718
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -47,13 +47,12 @@ func main() {
start, ok := components[component]
if !ok {
logrus.Errorf("Unknown component %q specified", component)
var list []string
for c := range components {
list = append(list, c)
}
logrus.Errorf("Unknown component %q specified", component)
logrus.Infof("Valid components: %s", strings.Join(list, ", "))
os.Exit(1)
}