Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/ctr/commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var (
cli.StringFlag{
Name: "hosts-dir",
// compatible with "/etc/docker/certs.d"
Usage: "Custom hosts configuration directory",
Usage: "custom hosts configuration directory",
},
cli.StringFlag{
Name: "tlscacert",
Expand Down
4 changes: 2 additions & 2 deletions cmd/ctr/commands/commands_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ func init() {
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",
Expand Down
4 changes: 2 additions & 2 deletions cmd/ctr/commands/images/mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ When you are done, use the unmount command.
Flags: append(append(commands.RegistryFlags, append(commands.SnapshotterFlags, commands.LabelFlag)...),
cli.BoolFlag{
Name: "rw",
Usage: "Enable write support on the mount",
Usage: "enable write support on the mount",
},
cli.StringFlag{
Name: "platform",
Usage: "Mount the image for the specified platform",
Usage: "mount the image for the specified platform",
Value: platforms.DefaultString(),
},
),
Expand Down
4 changes: 2 additions & 2 deletions cmd/ctr/commands/images/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ var pushCommand = cli.Command{
Value: &cli.StringSlice{},
}, cli.IntFlag{
Name: "max-concurrent-uploaded-layers",
Usage: "Set the max concurrent uploaded layers for each push",
Usage: "set the max concurrent uploaded layers for each push",
}, cli.BoolFlag{
Name: "allow-non-distributable-blobs",
Usage: "Allow pushing blobs that are marked as non-distributable",
Usage: "allow pushing blobs that are marked as non-distributable",
}),
Action: func(context *cli.Context) error {
var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/ctr/commands/snapshots/snapshots.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ var prepareCommand = cli.Command{
},
cli.BoolFlag{
Name: "mounts",
Usage: "Print out snapshot mounts as JSON",
Usage: "print out snapshot mounts as JSON",
},
},
Action: func(context *cli.Context) error {
Expand Down Expand Up @@ -341,7 +341,7 @@ var viewCommand = cli.Command{
},
cli.BoolFlag{
Name: "mounts",
Usage: "Print out snapshot mounts as JSON",
Usage: "print out snapshot mounts as JSON",
},
},
Action: func(context *cli.Context) error {
Expand Down