You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flag.BoolVar(&verbose, "verbose", false, "log debug information to stderr")
152
+
flag.BoolVar(&verbose, "verbose", false, "Log debug information to standard error stream")
153
153
vardevicebool
154
-
flag.BoolVar(&device, "device", false, "instead of opening a web browser locally, print a code to enter on another device")
154
+
flag.BoolVar(&device, "device", false, "Instead of opening a web browser locally, print a code to enter on another device. OAuth device authorization is useful for systems without a web browser.")
155
+
varautobool
156
+
flag.BoolVar(&auto, "auto", false, "Automatically use device authorization when environment variable XDG_SESSION_TYPE has value 'tty'")
155
157
varbearerbool
156
158
flag.BoolVar(&bearer, "bearer", false, "Prefer Bearer authentication for supported hosts")
157
159
flag.Usage=func() {
@@ -308,7 +310,7 @@ func main() {
308
310
309
311
iftoken==nil {
310
312
// Generate new token (opens browser, may require user input)
0 commit comments