We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c30e55 commit 77b5c9dCopy full SHA for 77b5c9d
1 file changed
cmd/src/login.go
@@ -9,6 +9,7 @@ import (
9
"os"
10
11
"github.com/sourcegraph/src-cli/internal/api"
12
+ "github.com/sourcegraph/src-cli/internal/cmderrors"
13
"github.com/sourcegraph/src-cli/internal/oauth"
14
)
15
@@ -45,6 +46,10 @@ Examples:
45
46
return err
47
}
48
49
+ if flagSet.NArg() > 0 {
50
+ return cmderrors.Usage("src login no longer accepts a URL argument; set SRC_ENDPOINT instead")
51
+ }
52
+
53
client := cfg.apiClient(nil, io.Discard)
54
55
return loginCmd(context.Background(), loginParams{
0 commit comments