From 6ce57ea2f434335cb12ee5661dc38a50fc74952a Mon Sep 17 00:00:00 2001 From: Ulysses Souza Date: Fri, 4 Mar 2022 17:51:53 +0100 Subject: [PATCH] Remove DEPRECATED text, since it's just the default Signed-off-by: Ulysses Souza --- cmd/compose/exec.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/compose/exec.go b/cmd/compose/exec.go index 75bbe12d4..818dcffa7 100644 --- a/cmd/compose/exec.go +++ b/cmd/compose/exec.go @@ -70,9 +70,9 @@ func execCommand(p *projectOptions, backend api.Service) *cobra.Command { runCmd.Flags().BoolVarP(&opts.noTty, "no-TTY", "T", false, "Disable pseudo-TTY allocation. By default `docker compose exec` allocates a TTY.") runCmd.Flags().StringVarP(&opts.workingDir, "workdir", "w", "", "Path to workdir directory for this command.") - runCmd.Flags().BoolP("interactive", "i", true, "Keep STDIN open even if not attached. DEPRECATED") + runCmd.Flags().BoolP("interactive", "i", true, "Keep STDIN open even if not attached.") runCmd.Flags().MarkHidden("interactive") //nolint:errcheck - runCmd.Flags().BoolP("tty", "t", true, "Allocate a pseudo-TTY. DEPRECATED") + runCmd.Flags().BoolP("tty", "t", true, "Allocate a pseudo-TTY.") runCmd.Flags().MarkHidden("tty") //nolint:errcheck runCmd.Flags().SetInterspersed(false)