Skip to content

Commit 3df964d

Browse files
committed
xx
Signed-off-by: Derek Nola <[email protected]>
1 parent 8dbaa35 commit 3df964d

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

cmd/agent/main.go

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414

1515
func main() {
1616
app := cmds.NewApp()
17+
app.DisableSliceFlagSeparator = true
1718
app.Commands = []*cli.Command{
1819
cmds.NewAgentCommand(agent.Run),
1920
}

cmd/k3s/main.go

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ func main() {
5252
// Handle subcommand invocation (k3s server, k3s crictl, etc)
5353
app := cmds.NewApp()
5454
app.EnableBashCompletion = true
55+
app.DisableSliceFlagSeparator = true
5556
app.Commands = []*cli.Command{
5657
cmds.NewServerCommand(internalCLIAction(version.Program+"-server"+programPostfix, dataDir, os.Args)),
5758
cmds.NewAgentCommand(internalCLIAction(version.Program+"-agent"+programPostfix, dataDir, os.Args)),

cmd/server/main.go

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ func main() {
4343
os.Args[0] = cmd
4444

4545
app := cmds.NewApp()
46+
app.DisableSliceFlagSeparator = true
4647
app.Commands = []*cli.Command{
4748
cmds.NewServerCommand(server.Run),
4849
cmds.NewAgentCommand(agent.Run),

main.go

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import (
2525

2626
func main() {
2727
app := cmds.NewApp()
28+
app.DisableSliceFlagSeparator = true
2829
app.Commands = []*cli.Command{
2930
cmds.NewServerCommand(server.Run),
3031
cmds.NewAgentCommand(agent.Run),

0 commit comments

Comments
 (0)