summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-08-30 11:31:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:03:26 -0500
commit063078d92763e25935c704f24e1719e309249961 (patch)
treed571240d1095f589784d1a36e13101f34c95e672 /source3
parent8c072021efba737539b46e993df0c21a6438a82a (diff)
downloadsamba-063078d92763e25935c704f24e1719e309249961.tar.gz
samba-063078d92763e25935c704f24e1719e309249961.tar.bz2
samba-063078d92763e25935c704f24e1719e309249961.zip
r9787: BUG 2998: patch from Humberto Diogenes <virtual.spirit@digizap.com.br> to include 'net rpc service' help in net rpc usage output
(This used to be commit ace8556b6525959114bea47d3be3b1b40756b058)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_rpc.c1
-rw-r--r--source3/utils/net_rpc_service.c2
2 files changed, 2 insertions, 1 deletions
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 <service> Start a service\n");
d_printf("net rpc service stop <service> Stop a service\n");
d_printf("net rpc service pause <service> Pause a service\n");
- d_printf("net rpc service resume <service> Resume a paused a service\n");
+ d_printf("net rpc service resume <service> Resume a paused service\n");
d_printf("net rpc service status <service> View the current status of a service\n");
return -1;