improved deprecated warning

This commit is contained in:
Greg Wilkins 2016-09-22 13:21:46 +10:00
parent a21434f289
commit 1e6c5fac6b
1 changed files with 1 additions and 1 deletions

View File

@ -958,7 +958,7 @@ public class StartArgs
if (arg.startsWith("--add-to-startd="))
{
String value = Props.getValue(arg);
StartLog.warn("--add-to-startd is deprecated! Instead use: --add-to-start=%s",value);
StartLog.warn("--add-to-startd is deprecated! Instead use: --create-startd --add-to-start=%s",value);
createStartd=true;
startModules.addAll(Props.getValues(arg));
run = false;