File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66// Licensed under Apache License v2.0. See the file "LICENSE" for more
77// information.
88//
9- // Usage: cups-oauth [OPTIONS] [COMMAND [ARGUMENT(S)]]
9+ // Usage: cups-oauth [OPTIONS] [SUB- COMMAND [ARGUMENT(S)]]
1010//
1111// Commands:
1212//
@@ -521,9 +521,9 @@ do_set_client_data(
521521static int // O - Exit status
522522usage (FILE * out ) // I - Output file
523523{
524- cupsLangPuts (out , _ ("Usage: cups-oauth [OPTIONS] [COMMAND [ARGUMENT(S)]]" ));
524+ cupsLangPuts (out , _ ("Usage: cups-oauth [OPTIONS] [SUB- COMMAND [ARGUMENT(S)]]" ));
525525 cupsLangPuts (out , "" );
526- cupsLangPuts (out , _ ("Commands:" ));
526+ cupsLangPuts (out , _ ("Sub- Commands:" ));
527527 cupsLangPuts (out , "" );
528528 cupsLangPuts (out , _ ("authorize [RESOURCE] Authorize access to a resource" ));
529529 cupsLangPuts (out , _ ("clear [RESOURCE] Clear the authorization for a resource" ));
Original file line number Diff line number Diff line change @@ -554,9 +554,7 @@ do_client(const char *uri, // I - URI
554554 bool require_ca ) // I - Require a CA-signed cert?
555555{
556556 http_t * http ; // HTTP connection
557- char scheme [HTTP_MAX_URI ], // Scheme from URI
558- hostname [HTTP_MAX_URI ], // Hostname from URI
559- username [HTTP_MAX_URI ], // Username:password from URI
557+ char hostname [HTTP_MAX_URI ], // Hostname from URI
560558 resource [HTTP_MAX_URI ]; // Resource from URI
561559 int port ; // Port number from URI
562560 http_trust_t trust ; // Trust evaluation for connection
You can’t perform that action at this time.
0 commit comments