PROTO13-bos-fix-restart-usage-message-20020821

as suggested by Turbo Fredriksson

restart does not default to all


(cherry picked from commit ba5ed52c87)
This commit is contained in:
Derrick Brashear 2002-08-21 16:44:38 +00:00
parent 7a1d4e1060
commit 7786c3011b

View File

@ -1828,7 +1828,7 @@ main(argc, argv)
cmd_AddParm(ts, "-instance", CMD_LIST, CMD_OPTIONAL, "instances"); cmd_AddParm(ts, "-instance", CMD_LIST, CMD_OPTIONAL, "instances");
add_std_args (ts); add_std_args (ts);
ts = cmd_CreateSyntax("restart", Restart, 0, "restart all processes"); ts = cmd_CreateSyntax("restart", Restart, 0, "restart processes");
cmd_AddParm(ts, "-server", CMD_SINGLE, 0, "machine name"); cmd_AddParm(ts, "-server", CMD_SINGLE, 0, "machine name");
cmd_AddParm(ts, "-instance", CMD_LIST, CMD_OPTIONAL, "instances"); cmd_AddParm(ts, "-instance", CMD_LIST, CMD_OPTIONAL, "instances");
cmd_AddParm(ts, "-bosserver", CMD_FLAG, CMD_OPTIONAL, "restart bosserver"); cmd_AddParm(ts, "-bosserver", CMD_FLAG, CMD_OPTIONAL, "restart bosserver");