Fix help info of init command

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
Qiang Huang 2016-03-18 14:02:42 +08:00
parent 62470e0bd8
commit c82ec8e898
1 changed files with 2 additions and 4 deletions

View File

@ -80,10 +80,8 @@ is a directory with a specification file and a root filesystem.`,
}
var initCommand = cli.Command{
Name: "init",
Usage: `init is used to initialize the containers namespaces and launch the users process.
This command should not be called outside of runc.
`,
Name: "init",
Usage: `initialize the namespaces and launch the process (do not call it outside of runc)`,
Action: func(context *cli.Context) {
runtime.GOMAXPROCS(1)
runtime.LockOSThread()