fix(cmd): expect at least one argument
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f7c1664197
commit
3bf9380001
@ -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`,
|
||||
|
Loading…
Reference in New Issue
Block a user