File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717The commands are:
1818
19- token prints the current authentication token
19+ token prints the current authentication token or Authorization header
2020
2121Use "src auth [command] -h" for more information about a command.
2222`
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ func init() {
2525 flagSet := flag .NewFlagSet ("token" , flag .ExitOnError )
2626 header := flagSet .Bool ("header" , false , "print the token as an Authorization header" )
2727 usageFunc := func () {
28- fmt .Fprintf (flag .CommandLine .Output (), "Usage of 'src auth token':\n " )
28+ fmt .Fprintf (flag .CommandLine .Output (), "Usage of 'src auth token':\n \n " )
29+ fmt .Fprintf (flag .CommandLine .Output (), "Print the current authentication token.\n " )
30+ fmt .Fprintf (flag .CommandLine .Output (), "Use --header to print a complete Authorization header instead.\n \n " )
2931 flagSet .PrintDefaults ()
3032 }
3133
You can’t perform that action at this time.
0 commit comments