[PATCH] regshell.c: fix a bug of predef

Peng Haitao penght at cn.fujitsu.com
Tue Aug 6 19:07:57 MDT 2013


'predefined' should be replaced with 'ch' according to manpage.

Signed-off-by: Peng Haitao <penght at cn.fujitsu.com>
---
 source4/lib/registry/tools/regshell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source4/lib/registry/tools/regshell.c b/source4/lib/registry/tools/regshell.c
index dd154f7..e9d43d7 100644
--- a/source4/lib/registry/tools/regshell.c
+++ b/source4/lib/registry/tools/regshell.c
@@ -379,7 +379,7 @@ static struct {
 	{"set", "update", "Update value", cmd_set },
 	{"help", "?", "Help", cmd_help },
 	{"exit", "quit", "Exit", cmd_exit },
-	{"predef", "predefined", "Go to predefined key", cmd_predef },
+	{"predef", "ch", "Go to predefined key", cmd_predef },
 	{NULL }
 };
 
-- 
1.8.3.1



More information about the samba-technical mailing list