File tree Expand file tree Collapse file tree
src/bin/sccache-dist/cmdline Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ fn get_clap_command() -> ClapCommand {
112112 . subcommand_required ( true )
113113 . subcommand (
114114 ClapCommand :: new ( "auth" )
115+ . about ( "Helper commands to generate authentication tokens" )
115116 . subcommand_required ( true )
116117 . subcommand ( ClapCommand :: new ( "generate-jwt-hs256-key" ) )
117118 . subcommand (
@@ -145,14 +146,25 @@ fn get_clap_command() -> ClapCommand {
145146 ) ,
146147 ) ,
147148 )
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+ )
156168}
157169
158170fn check_init_syslog ( name : & str , log_level : LogLevel ) {
You can’t perform that action at this time.
0 commit comments