Fix dist socket parameter

It was renamed to address.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2017-04-10 09:37:43 -07:00
parent 49e3c116ef
commit ab9c4c31d6
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ containerd client
Usage: "enable debug output in logs", Usage: "enable debug output in logs",
}, },
cli.StringFlag{ cli.StringFlag{
Name: "address, s", Name: "address, a",
Usage: "address for containerd's GRPC server", Usage: "address for containerd's GRPC server",
Value: "/run/containerd/containerd.sock", Value: "/run/containerd/containerd.sock",
}, },

6
cmd/dist/main.go vendored
View File

@ -30,7 +30,7 @@ func main() {
____/ (_)____/ /_ ____/ (_)____/ /_
/ __ / / ___/ __/ / __ / / ___/ __/
/ /_/ / (__ ) /_ / /_/ / (__ ) /_
\__,_/_/____/\__/ \__,_/_/____/\__/
distribution tool distribution tool
` `
@ -55,8 +55,8 @@ distribution tool
Value: "/var/lib/containerd", Value: "/var/lib/containerd",
}, },
cli.StringFlag{ cli.StringFlag{
Name: "socket, s", Name: "address, a",
Usage: "socket path for containerd's GRPC server", Usage: "address for containerd's GRPC server",
Value: "/run/containerd/containerd.sock", Value: "/run/containerd/containerd.sock",
}, },
} }