mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-23 23:03:10 -06:00
Tweaks
This commit is contained in:
parent
33056062ec
commit
374c11a718
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue