cmk: debug cmdline args input comma separated for readability
Signed-off-by: Rohit Yadav <rohit@apache.org>
diff --git a/cmk.go b/cmk.go
index 83e8b7e..4f70cb5 100644
--- a/cmk.go
+++ b/cmk.go
@@ -21,6 +21,7 @@
"flag"
"fmt"
"os"
+ "strings"
"github.com/apache/cloudstack-cloudmonkey/cli"
"github.com/apache/cloudstack-cloudmonkey/cmd"
@@ -68,7 +69,7 @@
cli.SetConfig(cfg)
args := flag.Args()
- config.Debug("cmdline args:", os.Args)
+ config.Debug("cmdline args:", strings.Join(os.Args, ", "))
if len(args) > 0 {
if err := cli.ExecCmd(args); err != nil {
fmt.Println("🙈 Error:", err)