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

@ -81,9 +81,7 @@ 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()