File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,6 @@ enum CommandLine {
101101
102102 /// Starts the daemon
103103 Daemon {
104- /// Deprecated. Run the server in the foreground instead of detaching a child
105- #[ structopt( name = "FOREGROUND" , short = "f" , long = "foreground" ) ]
106- foreground : bool ,
107-
108104 /// Enable or disable the registry watcher to automatically enqueue newly published crates
109105 #[ structopt(
110106 long = "registry-watcher" ,
@@ -140,14 +136,7 @@ impl CommandLine {
140136 // Blocks indefinitely
141137 let _ = Server :: start ( Some ( & socket_addr) , reload_templates, & ctx) ?;
142138 }
143- Self :: Daemon {
144- foreground,
145- registry_watcher,
146- } => {
147- if foreground {
148- log:: warn!( "--foreground was passed, but there is no need for it anymore" ) ;
149- }
150-
139+ Self :: Daemon { registry_watcher } => {
151140 docs_rs:: utils:: start_daemon ( & ctx, registry_watcher == Toggle :: Enabled ) ?;
152141 }
153142 Self :: Database { subcommand } => subcommand. handle_args ( ctx) ?,
You can’t perform that action at this time.
0 commit comments