aboutsummaryrefslogtreecommitdiff
path: root/console-tools/loadfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/loadfont.c')
-rw-r--r--console-tools/loadfont.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c
index 623d98175..81d0c3db4 100644
--- a/console-tools/loadfont.c
+++ b/console-tools/loadfont.c
@@ -348,8 +348,7 @@ int loadfont_main(int argc UNUSED_PARAM, char **argv)
348 unsigned char *buffer; 348 unsigned char *buffer;
349 349
350 // no arguments allowed! 350 // no arguments allowed!
351 opt_complementary = "=0"; 351 getopt32(argv, "^" "" "\0" "=0");
352 getopt32(argv, "");
353 352
354 /* 353 /*
355 * We used to look at the length of the input file 354 * We used to look at the length of the input file
@@ -437,8 +436,7 @@ int setfont_main(int argc UNUSED_PARAM, char **argv)
437 char *mapfilename; 436 char *mapfilename;
438 const char *tty_name = CURRENT_TTY; 437 const char *tty_name = CURRENT_TTY;
439 438
440 opt_complementary = "=1"; 439 opts = getopt32(argv, "^" "m:C:" "\0" "=1", &mapfilename, &tty_name);
441 opts = getopt32(argv, "m:C:", &mapfilename, &tty_name);
442 argv += optind; 440 argv += optind;
443 441
444 fd = xopen_nonblocking(tty_name); 442 fd = xopen_nonblocking(tty_name);