mirror of https://github.com/docker/compose.git
Merge pull request #9158 from Jille/compose-down-noargs
down: Reject all arguments
This commit is contained in:
commit
028cb4dd89
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue