summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-01-17 07:14:21 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-01-17 07:14:21 +0000
commit350161d44b07d8e66a2fb073fa7e9ee0f8ab0c45 (patch)
treecc42925fc15992bdcc28d992bebc068459de7ff9
parent21a6c3448527ddff1c7053784116694f064570b5 (diff)
downloadsamba-350161d44b07d8e66a2fb073fa7e9ee0f8ab0c45.tar.gz
samba-350161d44b07d8e66a2fb073fa7e9ee0f8ab0c45.tar.bz2
samba-350161d44b07d8e66a2fb073fa7e9ee0f8ab0c45.zip
Move the bang (!) command back to the bottom of the list, allowing smbclient
to function again. Add comment to warn anybody that wants to 'Alphabetize' the list to read crh's existing comment on the issue. Andrew Bartlett (This used to be commit d123d79060caf3ad084e733dac02aa2f67bda35f)
-rw-r--r--source3/client/client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index dbd5ab8d52..f1059f8ee1 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -1965,7 +1965,6 @@ struct
} commands[] =
{
{"?",cmd_help,"[command] give help on a command",{COMPL_NONE,COMPL_NONE}},
- {"!",NULL,"run a shell command on the local system",{COMPL_NONE,COMPL_NONE}},
{"altname",cmd_altname,"<file> show alt name",{COMPL_NONE,COMPL_NONE}},
{"archive",cmd_archive,"<level>\n0=ignore archive bit\n1=only get archive files\n2=only get archive files and reset archive bit\n3=get all files and reset archive bit",{COMPL_NONE,COMPL_NONE}},
{"blocksize",cmd_block,"blocksize <number> (default 20)",{COMPL_NONE,COMPL_NONE}},
@@ -2010,6 +2009,9 @@ struct
{"tar",cmd_tar,"tar <c|x>[IXFqbgNan] current directory to/from <file name>",{COMPL_NONE,COMPL_NONE}},
{"tarmode",cmd_tarmode,"<full|inc|reset|noreset> tar's behaviour towards archive bits",{COMPL_NONE,COMPL_NONE}},
{"translate",cmd_translate,"toggle text translation for printing",{COMPL_NONE,COMPL_NONE}},
+
+ /* Yes, this must be here, see crh's comment above. */
+ {"!",NULL,"run a shell command on the local system",{COMPL_NONE,COMPL_NONE}},
{"",NULL,NULL,{COMPL_NONE,COMPL_NONE}}
};