From 063078d92763e25935c704f24e1719e309249961 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 30 Aug 2005 11:31:49 +0000 Subject: r9787: BUG 2998: patch from Humberto Diogenes to include 'net rpc service' help in net rpc usage output (This used to be commit ace8556b6525959114bea47d3be3b1b40756b058) --- source3/utils/net_rpc.c | 1 + source3/utils/net_rpc_service.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index d922b50823..50114d5fac 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -5959,6 +5959,7 @@ int net_rpc_usage(int argc, const char **argv) d_printf(" net rpc shutdown \t\tto shutdown a remote server\n"); d_printf(" net rpc rights\t\tto manage privileges assigned to SIDs\n"); d_printf(" net rpc registry\t\tto manage registry hives\n"); + d_printf(" net rpc service\t\tto start, stop and query services\n"); d_printf("\n"); d_printf("'net rpc shutdown' also accepts the following miscellaneous options:\n"); /* misc options */ d_printf("\t-r or --reboot\trequest remote server reboot on shutdown\n"); diff --git a/source3/utils/net_rpc_service.c b/source3/utils/net_rpc_service.c index 94644f8dcf..8f93ab3d06 100644 --- a/source3/utils/net_rpc_service.c +++ b/source3/utils/net_rpc_service.c @@ -499,7 +499,7 @@ static int net_help_service( int argc, const char **argv ) d_printf("net rpc service start Start a service\n"); d_printf("net rpc service stop Stop a service\n"); d_printf("net rpc service pause Pause a service\n"); - d_printf("net rpc service resume Resume a paused a service\n"); + d_printf("net rpc service resume Resume a paused service\n"); d_printf("net rpc service status View the current status of a service\n"); return -1; -- cgit