Minor comments fix

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
Qiang Huang 2015-09-07 10:39:22 +08:00
parent 0f85e4e1a3
commit 8f35c181b2
1 changed files with 5 additions and 5 deletions

10
main.go
View File

@ -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)