Skip to content

Commit 028cb4d

Browse files
authored
Merge pull request docker#9158 from Jille/compose-down-noargs
down: Reject all arguments
2 parents 69e21d8 + 147c2d8 commit 028cb4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/compose/down.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ func downCommand(p *projectOptions, backend api.Service) *cobra.Command {
5959
RunE: Adapt(func(ctx context.Context, args []string) error {
6060
return runDown(ctx, backend, opts)
6161
}),
62+
Args: cobra.NoArgs,
6263
ValidArgsFunction: noCompletion(),
6364
}
6465
flags := downCmd.Flags()

0 commit comments

Comments
 (0)