mirror of https://github.com/docker/cli.git
Cleanup the structure of the cli package.
Move all flags into cli/flags Move usage help into cli/usage.go Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
c6919a6e79
commit
315e242b9c
|
@ -3,7 +3,6 @@ package main
|
|||
import (
|
||||
"path/filepath"
|
||||
|
||||
"github.com/docker/docker/cli"
|
||||
cliflags "github.com/docker/docker/cli/flags"
|
||||
"github.com/docker/docker/cliconfig"
|
||||
flag "github.com/docker/docker/pkg/mflag"
|
||||
|
@ -12,7 +11,7 @@ import (
|
|||
|
||||
var (
|
||||
commonFlags = cliflags.InitCommonFlags()
|
||||
clientFlags = &cli.ClientFlags{FlagSet: new(flag.FlagSet), Common: commonFlags}
|
||||
clientFlags = &cliflags.ClientFlags{FlagSet: new(flag.FlagSet), Common: commonFlags}
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
Loading…
Reference in New Issue