From: William A. Rowe Jr Date: Fri, 3 Nov 2000 04:34:42 +0000 (+0000) Subject: John's patches to provide depreciated messages for the -i and -u X-Git-Tag: APACHE_2_0_ALPHA_8~180 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3698e24a5e604f63fec8cdddca6856b4266d6ffa;p=apache John's patches to provide depreciated messages for the -i and -u options (now -k install|uninstall), and best yet, restart the console mode server on Ctrl+Break (Ctrl+C still stops it.) Submitted by: John Sterling Reviewed by: William Rowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86820 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index aa9cf976f6..6d59724daa 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -1909,11 +1909,13 @@ void winnt_rewrite_args(process_rec *process) signal_arg = optarg; break; case 'i': - /* TODO: warn of depreciated syntax, "use -k install instead" */ + ap_log_error(APLOG_MARK,APLOG_WARNING, 0, NULL, + "-i is deprecated. Use -k install."); signal_arg = "install"; break; case 'u': - /* TODO: warn of depreciated syntax, "use -k uninstall instead" */ + ap_log_error(APLOG_MARK,APLOG_WARNING, 0, NULL, + "-u is deprecated. Use -k uninstall."); signal_arg = "uninstall"; break; default: