We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3a8505 commit 3828cceCopy full SHA for 3828cce
cmd/docs.go
@@ -28,6 +28,7 @@ var docsCmd = &cobra.Command{
28
cli.Print("Opening documentation...")
29
err := exec.OpenBrowser("https://docs.code-game.org")
30
abort(err)
31
+ return
32
}
33
34
api, err := server.NewAPI(args[0])
cmd/info.go
@@ -22,7 +22,7 @@ var infoCmd = &cobra.Command{
22
Run: func(cmd *cobra.Command, args []string) {
23
var url string
24
if len(args) > 0 {
25
- url = strings.ToLower(os.Args[0])
+ url = strings.ToLower(args[0])
26
} else {
27
var err error
url, err = cli.Input("Game server URL:")
0 commit comments