do not suggest the default layer
This commit is contained in:
parent
2d75cc5f4e
commit
91b0032ee4
@ -231,12 +231,17 @@ func fromMiner(cctx *cli.Context) (err error) {
|
|||||||
dbSettings += ` --db-name="` + smCfg.HarmonyDB.Database + `"`
|
dbSettings += ` --db-name="` + smCfg.HarmonyDB.Database + `"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var layerMaybe string
|
||||||
|
if name != "base" {
|
||||||
|
layerMaybe = "--layer=" + name
|
||||||
|
}
|
||||||
|
|
||||||
msg += `
|
msg += `
|
||||||
To work with the config:
|
To work with the config:
|
||||||
` + cliCommandColor(`lotus-provider `+dbSettings+` config help `)
|
` + cliCommandColor(`lotus-provider `+dbSettings+` config help `)
|
||||||
msg += `
|
msg += `
|
||||||
To run Lotus Provider: in its own machine or cgroup without other files, use the command:
|
To run Lotus Provider: in its own machine or cgroup without other files, use the command:
|
||||||
` + cliCommandColor(`lotus-provider `+dbSettings+` run --layers="`+name+`"`)
|
` + cliCommandColor(`lotus-provider `+dbSettings+` run `+layerMaybe)
|
||||||
fmt.Println(msg)
|
fmt.Println(msg)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user