diff options
author | Günther Deschner <gd@samba.org> | 2007-10-05 20:08:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:31:12 -0500 |
commit | ffd91e763ec3da1b9dd8104b2a502dbdcdfd1875 (patch) | |
tree | 3225d5060fb46f2a7ec63eb9fe02e043fcb125f2 | |
parent | 70001d310643d9e257e6ee1adbb114347ee01552 (diff) | |
download | samba-ffd91e763ec3da1b9dd8104b2a502dbdcdfd1875.tar.gz samba-ffd91e763ec3da1b9dd8104b2a502dbdcdfd1875.tar.bz2 samba-ffd91e763ec3da1b9dd8104b2a502dbdcdfd1875.zip |
r25526: Fix usage output.
Guenther
(This used to be commit 31a0bf7b8cae3322a379dc147be6493441c2f13d)
-rw-r--r-- | source3/utils/net_rpc_registry.c | 10 |
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; } |