Skip to content

Commit 552fcc3

Browse files
avoid adding commands to multiple parents
1 parent d561d0d commit 552fcc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cmd/cli/command/commands.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,12 @@ func SetupCommands(version string) {
218218
composeCmd.AddCommand(composeStartCmd)
219219
composeCmd.AddCommand(composeRestartCmd)
220220
composeCmd.AddCommand(composeStopCmd)
221-
composeCmd.AddCommand(getServicesCmd) // like docker compose ls
221+
// composeCmd.AddCommand(getServicesCmd) // like docker compose ls
222222
RootCmd.AddCommand(composeCmd)
223223

224224
// Add up/down commands to the root as well
225-
RootCmd.AddCommand(composeDownCmd)
226-
RootCmd.AddCommand(composeUpCmd)
225+
// RootCmd.AddCommand(composeDownCmd)
226+
// RootCmd.AddCommand(composeUpCmd)
227227
// RootCmd.AddCommand(composeStartCmd)
228228
// RootCmd.AddCommand(composeRestartCmd)
229229
// RootCmd.AddCommand(composeStopCmd)

0 commit comments

Comments
 (0)