Fix usage output.
authorgd <gd@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Fri, 5 Oct 2007 20:08:48 +0000 (20:08 +0000)
committergd <gd@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Fri, 5 Oct 2007 20:08:48 +0000 (20:08 +0000)
Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25526 0c0555d6-39d7-0310-84fc-f1cc0bd64818

source/utils/net_rpc_registry.c

index b228cc1..03a7732 100644 (file)
@@ -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;
        }