diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -60,6 +60,10 @@ main(int argc, char **argv) while ((opt = getopt(argc, argv, "f:w:h:")) != -1) { switch (opt) { case 'f': + if (strcmp(optarg, "list") == 0) { + font_list(stdout); + return 0; + } font = font_find(optarg); if (!font) { fprintf(stderr, _("Font \"%s\" not " |