summaryrefslogtreecommitdiff
path: root/source3/rpcclient/rpcclient.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-19 18:32:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:00:47 -0500
commit7eca40ba3ecaccd14575e758b56a5cca4589e030 (patch)
tree49180568d4c7d0d40e824756a2413f467fdcd33f /source3/rpcclient/rpcclient.c
parentd1e28fa76d14d0628f58cca8a6f6ca878851652f (diff)
downloadsamba-7eca40ba3ecaccd14575e758b56a5cca4589e030.tar.gz
samba-7eca40ba3ecaccd14575e758b56a5cca4589e030.tar.bz2
samba-7eca40ba3ecaccd14575e758b56a5cca4589e030.zip
r18681: Although we have commandline completion in rpcclient, just also allow
"debug" to be set instead of "debuglevel" - just for convenience. Guenther (This used to be commit ffec64730b04076264045841ccfd0ed7fce43c2f)
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r--source3/rpcclient/rpcclient.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 4ca674c2b1..44fdd82bfa 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -437,6 +437,7 @@ static struct cmd_set rpcclient_commands[] = {
{ "help", RPC_RTYPE_NTSTATUS, cmd_help, NULL, -1, NULL, "Get help on commands", "[command]" },
{ "?", RPC_RTYPE_NTSTATUS, cmd_help, NULL, -1, NULL, "Get help on commands", "[command]" },
{ "debuglevel", RPC_RTYPE_NTSTATUS, cmd_debuglevel, NULL, -1, NULL, "Set debug level", "level" },
+ { "debug", RPC_RTYPE_NTSTATUS, cmd_debuglevel, NULL, -1, NULL, "Set debug level", "level" },
{ "list", RPC_RTYPE_NTSTATUS, cmd_listcommands, NULL, -1, NULL, "List available commands on <pipe>", "pipe" },
{ "exit", RPC_RTYPE_NTSTATUS, cmd_quit, NULL, -1, NULL, "Exit program", "" },
{ "quit", RPC_RTYPE_NTSTATUS, cmd_quit, NULL, -1, NULL, "Exit program", "" },