File tree Expand file tree Collapse file tree 1 file changed +20
-8
lines changed
src/bin/sccache-dist/cmdline Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ fn get_clap_command() -> ClapCommand {
112
112
. subcommand_required ( true )
113
113
. subcommand (
114
114
ClapCommand :: new ( "auth" )
115
+ . about ( "Helper commands to generate authentication tokens" )
115
116
. subcommand_required ( true )
116
117
. subcommand ( ClapCommand :: new ( "generate-jwt-hs256-key" ) )
117
118
. subcommand (
@@ -145,14 +146,25 @@ fn get_clap_command() -> ClapCommand {
145
146
) ,
146
147
) ,
147
148
)
148
- . subcommand ( ClapCommand :: new ( "scheduler" ) . args ( & [
149
- config_with_help_message ( "Use the scheduler config file at PATH" ) . required ( true ) ,
150
- syslog. clone ( ) ,
151
- ] ) )
152
- . subcommand ( ClapCommand :: new ( "server" ) . args ( & [
153
- config_with_help_message ( "Use the server config file at PATH" ) . required ( true ) ,
154
- syslog,
155
- ] ) )
149
+ . subcommand (
150
+ ClapCommand :: new ( "scheduler" )
151
+ . about (
152
+ "Launch as a scheduler, to dispatch distributed builds across multiple servers" ,
153
+ )
154
+ . args ( & [
155
+ config_with_help_message ( "Use the scheduler config file at PATH" )
156
+ . required ( true ) ,
157
+ syslog. clone ( ) ,
158
+ ] ) ,
159
+ )
160
+ . subcommand (
161
+ ClapCommand :: new ( "server" )
162
+ . about ( "Launch as a server, to handle distributed builds assigned by the scheduler" )
163
+ . args ( & [
164
+ config_with_help_message ( "Use the server config file at PATH" ) . required ( true ) ,
165
+ syslog,
166
+ ] ) ,
167
+ )
156
168
}
157
169
158
170
fn check_init_syslog ( name : & str , log_level : LogLevel ) {
You can’t perform that action at this time.
0 commit comments