From 66f152d6ddb01b3ff85e2ce6127e34ca3cdff429 Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Wed, 16 Sep 2015 10:06:59 +0800 Subject: [PATCH] simple refactor for the options of `runc spec` Signed-off-by: Lai Jiangshan --- spec.go | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/spec.go b/spec.go index 5a5184a35..cdf18782d 100644 --- a/spec.go +++ b/spec.go @@ -24,8 +24,16 @@ var specCommand = cli.Command{ Name: "spec", Usage: "create a new specification file", Flags: []cli.Flag{ - cli.StringFlag{Name: "config-file, c", Value: "config.json", Usage: "path to spec file for writing"}, - cli.StringFlag{Name: "runtime-file, r", Value: "runtime.json", Usage: "path to runtime file for writing"}, + cli.StringFlag{ + Name: "config-file, c", + Value: "config.json", + Usage: "path to spec config file for writing", + }, + cli.StringFlag{ + Name: "runtime-file, r", + Value: "runtime.json", + Usage: "path to runtime config file for writing", + }, }, Action: func(context *cli.Context) { spec := specs.LinuxSpec{