keep the uppercase letter for flag info
Signed-off-by: yulng <wei.yang@daocloud.io>
This commit is contained in:
@@ -25,22 +25,22 @@ import (
|
||||
func init() {
|
||||
ContainerFlags = append(ContainerFlags, cli.BoolFlag{
|
||||
Name: "rootfs",
|
||||
Usage: "use custom rootfs that is not managed by containerd snapshotter",
|
||||
Usage: "Use custom rootfs that is not managed by containerd snapshotter",
|
||||
}, cli.BoolFlag{
|
||||
Name: "no-pivot",
|
||||
Usage: "disable use of pivot-root (linux only)",
|
||||
Usage: "Disable use of pivot-root (linux only)",
|
||||
}, cli.Int64Flag{
|
||||
Name: "cpu-quota",
|
||||
Usage: "limit CPU CFS quota",
|
||||
Usage: "Limit CPU CFS quota",
|
||||
Value: -1,
|
||||
}, cli.Uint64Flag{
|
||||
Name: "cpu-period",
|
||||
Usage: "limit CPU CFS period",
|
||||
Usage: "Limit CPU CFS period",
|
||||
}, cli.StringFlag{
|
||||
Name: "rootfs-propagation",
|
||||
Usage: "set the propagation of the container rootfs",
|
||||
Usage: "Set the propagation of the container rootfs",
|
||||
}, cli.StringSliceFlag{
|
||||
Name: "device",
|
||||
Usage: "file path to a device to add to the container; or a path to a directory tree of devices to add to the container",
|
||||
Usage: "File path to a device to add to the container; or a path to a directory tree of devices to add to the container",
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user