summaryrefslogtreecommitdiffstats
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
commitd123d79060caf3ad084e733dac02aa2f67bda35f (patch)
tree4a34254d9128cafb15835787f92eb7158c6674ff
parentaca0edc819e892944c65b3feb60250994a79e88a (diff)
downloadsamba-d123d79060caf3ad084e733dac02aa2f67bda35f.tar.gz
samba-d123d79060caf3ad084e733dac02aa2f67bda35f.tar.xz
samba-d123d79060caf3ad084e733dac02aa2f67bda35f.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
-rw-r--r--source/client/client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c
index dbd5ab8d52c..f1059f8ee1f 100644
--- a/source/client/client.c
+++ b/source/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}}
};