fix(cmd): expect at least one argument
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2023-07-26 10:43:49 +02:00
parent f7c1664197
commit 3bf9380001
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -35,7 +35,7 @@ func Execute(version string) error {
rootCmd := &cobra.Command{
Use: "dcmerge",
Args: cobra.MinimumNArgs(2),
Args: cobra.MinimumNArgs(1),
Short: "Merge docker-compose files from multiple resources",
Example: `dcmerge docker-compose.yml ./integration-test/docker-compose.yml
dcmerge docker-compose.yml https://git.example.local/user/repo/docker-compose.yml`,