Minor comments fix
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
parent
0f85e4e1a3
commit
8f35c181b2
10
main.go
10
main.go
|
@ -23,12 +23,12 @@ direct child of the process supervisor.
|
||||||
After creating a spec for your root filesystem with runc, you can execute a
|
After creating a spec for your root filesystem with runc, you can execute a
|
||||||
container in your shell by running:
|
container in your shell by running:
|
||||||
|
|
||||||
cd /mycontainer
|
# cd /mycontainer
|
||||||
runc start
|
# runc start
|
||||||
|
|
||||||
or
|
or
|
||||||
cd /mycontainer
|
# cd /mycontainer
|
||||||
runc start [ spec-file ]
|
# runc start [ spec-file ]
|
||||||
|
|
||||||
If not specified, the default value for the 'spec-file' is 'config.json'. `
|
If not specified, the default value for the 'spec-file' is 'config.json'. `
|
||||||
)
|
)
|
||||||
|
@ -87,7 +87,7 @@ func main() {
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
// Default to 'start' is no command is specified
|
// Default to 'start' if no command is specified
|
||||||
app.Action = startCommand.Action
|
app.Action = startCommand.Action
|
||||||
if err := app.Run(os.Args); err != nil {
|
if err := app.Run(os.Args); err != nil {
|
||||||
logrus.Fatal(err)
|
logrus.Fatal(err)
|
||||||
|
|
Loading…
Reference in New Issue