summaryrefslogtreecommitdiff
path: root/tests/test_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_config.c')
-rw-r--r--tests/test_config.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/test_config.c b/tests/test_config.c
index eade27e..b53d76f 100644
--- a/tests/test_config.c
+++ b/tests/test_config.c
@@ -40,7 +40,7 @@ static void
print_usage(void)
{
printf
- ("Usage: test_config (-g)|(-s -m <model> -l <layouts> -o <options>)|(-h)|(-ws)|(-wb)(-d <debugLevel>)(-c charset)\n");
+ ("Usage: test_config (-g)|(-s -m <model> -l <layouts> -o <options>)|(-h)|(-ws)|(-wb)(-d <debugLevel>)\n");
printf("Options:\n");
printf(" -al - list all available layouts and variants\n");
printf(" -am - list all available models\n");
@@ -55,7 +55,6 @@ print_usage(void)
printf(" -wb - Write the source XKB config file (" PACKAGE
".xkb)\n");
printf(" -d - Set the debug level (by default, 0)\n");
- printf(" -c - Set the custom charset\n");
printf(" -h - Show this help\n");
}
@@ -118,7 +117,6 @@ main(int argc, char *const argv[])
const gchar *model = NULL;
const gchar *layouts = NULL;
const gchar *options = NULL;
- const gchar *charset = NULL;
int debug_level = -1;
int binary = 0;
Display *dpy;
@@ -160,9 +158,6 @@ main(int argc, char *const argv[])
case 'd':
debug_level = atoi(optarg);
break;
- case 'c':
- charset = optarg;
- break;
case 'w':
action = ACTION_WRITE;
binary = ('b' == optarg[0]);
@@ -198,10 +193,6 @@ main(int argc, char *const argv[])
config = xkl_config_registry_get_instance(engine);
xkl_config_registry_load(config);
- if (charset != NULL)
- xkl_config_registry_set_custom_charset(config,
- charset);
-
xkl_debug(0, "Xklavier registry loaded\n");
xkl_debug(0, "Backend: [%s]\n",
xkl_engine_get_backend_name(engine));