Add network --format flag to ls
Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: a8aaafc4a3fc716bdb2c4e571e34c66eb80bbab2 Component: engine
This commit is contained in:
@ -130,6 +130,12 @@ func (cli *DockerCli) ImagesFormat() string {
|
||||
return cli.configFile.ImagesFormat
|
||||
}
|
||||
|
||||
// NetworksFormat returns the format string specified in the configuration.
|
||||
// String contains columns and format specification, for example {{ID}}\t{{Name}}
|
||||
func (cli *DockerCli) NetworksFormat() string {
|
||||
return cli.configFile.NetworksFormat
|
||||
}
|
||||
|
||||
func (cli *DockerCli) setRawTerminal() error {
|
||||
if os.Getenv("NORAW") == "" {
|
||||
if cli.isTerminalIn {
|
||||
|
||||
Reference in New Issue
Block a user