mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-25 07:43:10 -06:00
Tweaks
This commit is contained in:
parent
33056062ec
commit
374c11a718
|
|
@ -47,13 +47,12 @@ func main() {
|
||||||
|
|
||||||
start, ok := components[component]
|
start, ok := components[component]
|
||||||
if !ok {
|
if !ok {
|
||||||
logrus.Errorf("Unknown component %q specified", component)
|
|
||||||
|
|
||||||
var list []string
|
var list []string
|
||||||
for c := range components {
|
for c := range components {
|
||||||
list = append(list, c)
|
list = append(list, c)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logrus.Errorf("Unknown component %q specified", component)
|
||||||
logrus.Infof("Valid components: %s", strings.Join(list, ", "))
|
logrus.Infof("Valid components: %s", strings.Join(list, ", "))
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue