summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-10-05 20:08:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:12 -0500
commitffd91e763ec3da1b9dd8104b2a502dbdcdfd1875 (patch)
tree3225d5060fb46f2a7ec63eb9fe02e043fcb125f2 /source3
parent70001d310643d9e257e6ee1adbb114347ee01552 (diff)
downloadsamba-ffd91e763ec3da1b9dd8104b2a502dbdcdfd1875.tar.gz
samba-ffd91e763ec3da1b9dd8104b2a502dbdcdfd1875.tar.bz2
samba-ffd91e763ec3da1b9dd8104b2a502dbdcdfd1875.zip
r25526: Fix usage output.
Guenther (This used to be commit 31a0bf7b8cae3322a379dc147be6493441c2f13d)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_rpc_registry.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/utils/net_rpc_registry.c b/source3/utils/net_rpc_registry.c
index b228cc1478..03a773225e 100644
--- a/source3/utils/net_rpc_registry.c
+++ b/source3/utils/net_rpc_registry.c
@@ -614,8 +614,8 @@ static NTSTATUS rpc_registry_enumerate_internal(const DOM_SID *domain_sid,
struct registry_value **values = NULL;
if (argc != 1 ) {
- d_printf("Usage: net rpc enumerate <path> [recurse]\n");
- d_printf("Example: net rpc enumerate 'HKLM\\Software\\Samba'\n");
+ d_printf("Usage: net rpc registry enumerate <path> [recurse]\n");
+ d_printf("Example: net rpc registry enumerate 'HKLM\\Software\\Samba'\n");
return NT_STATUS_OK;
}
@@ -716,7 +716,7 @@ static NTSTATUS rpc_registry_save_internal(const DOM_SID *domain_sid,
struct winreg_String filename;
if (argc != 2 ) {
- d_printf("Usage: net rpc backup <path> <file> \n");
+ d_printf("Usage: net rpc registry backup <path> <file> \n");
return NT_STATUS_OK;
}
@@ -882,7 +882,7 @@ static int rpc_registry_dump( int argc, const char **argv )
REGF_NK_REC *nk;
if (argc != 1 ) {
- d_printf("Usage: net rpc dump <file> \n");
+ d_printf("Usage: net rpc registry dump <file> \n");
return 0;
}
@@ -926,7 +926,7 @@ static int rpc_registry_copy( int argc, const char **argv )
int result = 1;
if (argc != 2 ) {
- d_printf("Usage: net rpc copy <srcfile> <newfile>\n");
+ d_printf("Usage: net rpc registry copy <srcfile> <newfile>\n");
return 0;
}