Merge pull request #9158 from Jille/compose-down-noargs

down: Reject all arguments
This commit is contained in:
Guillaume Lours
2022-05-02 15:37:01 +02:00
committed by GitHub

View File

@@ -59,6 +59,7 @@ func downCommand(p *projectOptions, backend api.Service) *cobra.Command {
RunE: Adapt(func(ctx context.Context, args []string) error {
return runDown(ctx, backend, opts)
}),
Args: cobra.NoArgs,
ValidArgsFunction: noCompletion(),
}
flags := downCmd.Flags()