mirror of https://github.com/docker/compose.git
Allow `docker compose logs -f` for compatibility
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
This commit is contained in:
parent
134b55b512
commit
0cffd53d5a
|
@ -50,7 +50,7 @@ func logsCommand(p *projectOptions, contextType string) *cobra.Command {
|
|||
},
|
||||
}
|
||||
flags := logsCmd.Flags()
|
||||
flags.BoolVar(&opts.follow, "follow", false, "Follow log output.")
|
||||
flags.BoolVarP(&opts.follow, "follow", "f", false, "Follow log output.")
|
||||
flags.BoolVar(&opts.noColor, "no-color", false, "Produce monochrome output.")
|
||||
flags.BoolVar(&opts.noPrefix, "no-log-prefix", false, "Don't print prefix in logs.")
|
||||
flags.BoolVarP(&opts.timestamps, "timestamps", "t", false, "Show timestamps.")
|
||||
|
|
Loading…
Reference in New Issue