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
Copy file name to clipboardExpand all lines: cli/root.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -90,8 +90,8 @@ func Root() *cobra.Command {
90
90
workspaceAgent(),
91
91
)
92
92
93
-
cliflag.String(cmd.PersistentFlags(),varURL,"","CODER_URL","","Specify the URL to your deployment.")
94
-
cliflag.String(cmd.PersistentFlags(),varToken,"","CODER_TOKEN","","Specify an authentication token.")
93
+
cmd.PersistentFlags().String(varURL,"","Specify the URL to your deployment.")
94
+
cmd.PersistentFlags().String(varToken,"","Specify an authentication token.")
95
95
cliflag.String(cmd.PersistentFlags(),varAgentToken,"","CODER_AGENT_TOKEN","","Specify an agent authentication token.")
96
96
cliflag.String(cmd.PersistentFlags(),varAgentURL,"","CODER_AGENT_URL","","Specify the URL for an agent to access your deployment.")
97
97
cliflag.String(cmd.PersistentFlags(),varGlobalConfig,"","CODER_CONFIG_DIR",configdir.LocalConfig("coderv2"),"Specify the path to the global `coder` config directory.")