summaryrefslogtreecommitdiff
path: root/source3/utils/testparm.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-06-03 09:44:49 -0700
committerJeremy Allison <jra@samba.org>2009-06-03 09:44:49 -0700
commitba4d51c521727e13639ba7fc09154da099eef1da (patch)
tree6ae77c56672ae412c661dfb7f3114257b674d622 /source3/utils/testparm.c
parent7cdad30b9640cc876e8ca59cd67455039107a5df (diff)
downloadsamba-ba4d51c521727e13639ba7fc09154da099eef1da.tar.gz
samba-ba4d51c521727e13639ba7fc09154da099eef1da.tar.bz2
samba-ba4d51c521727e13639ba7fc09154da099eef1da.zip
Fix bug #2356 - smbclient -t <term code> no longer works.
Removed code and docs. Jeremy.
Diffstat (limited to 'source3/utils/testparm.c')
-rw-r--r--source3/utils/testparm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index 519eb6954a..55c9cc16cf 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -296,7 +296,6 @@ rameter is ignored when using CUPS libraries.\n",
static int show_all_parameters = False;
int ret = 0;
poptContext pc;
- static const char *term_code = "";
static char *parameter_name = NULL;
static const char *section_name = NULL;
static char *new_local_machine = NULL;
@@ -310,7 +309,6 @@ rameter is ignored when using CUPS libraries.\n",
{"suppress-prompt", 's', POPT_ARG_VAL, &silent_mode, 1, "Suppress prompt for enter"},
{"verbose", 'v', POPT_ARG_NONE, &show_defaults, 1, "Show default options too"},
{"server", 'L',POPT_ARG_STRING, &new_local_machine, 0, "Set %%L macro to servername\n"},
- {"encoding", 't', POPT_ARG_STRING, &term_code, 0, "Print parameters with encoding"},
{"skip-logic-checks", 'l', POPT_ARG_NONE, &skip_logic_checks, 1, "Skip the global checks"},
{"show-all-parameters", '\0', POPT_ARG_VAL, &show_all_parameters, True, "Show the parameters, type, possible values" },
{"parameter-name", '\0', POPT_ARG_STRING, &parameter_name, 0, "Limit testparm to a named parameter" },