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
commit 028cb4dd89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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