Fix help info of init command
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
parent
62470e0bd8
commit
c82ec8e898
6
start.go
6
start.go
|
@ -80,10 +80,8 @@ is a directory with a specification file and a root filesystem.`,
|
||||||
}
|
}
|
||||||
|
|
||||||
var initCommand = cli.Command{
|
var initCommand = cli.Command{
|
||||||
Name: "init",
|
Name: "init",
|
||||||
Usage: `init is used to initialize the containers namespaces and launch the users process.
|
Usage: `initialize the namespaces and launch the process (do not call it outside of runc)`,
|
||||||
This command should not be called outside of runc.
|
|
||||||
`,
|
|
||||||
Action: func(context *cli.Context) {
|
Action: func(context *cli.Context) {
|
||||||
runtime.GOMAXPROCS(1)
|
runtime.GOMAXPROCS(1)
|
||||||
runtime.LockOSThread()
|
runtime.LockOSThread()
|
||||||
|
|
Loading…
Reference in New Issue