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",
},
cli.StringFlag{
Name: "address, s",
Name: "address, a",
Usage: "address for containerd's GRPC server",
Value: "/run/containerd/containerd.sock",
},

6
cmd/dist/main.go vendored
View file

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