From 8fb1b007ebe93efb6bf6d928edfd235b086ed199 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sun, 20 Nov 2022 18:51:26 +0000 Subject: Add --font-features option. --- src/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 21742cb..994d58b 100644 --- a/src/main.c +++ b/src/main.c @@ -762,6 +762,7 @@ static void usage() " --include Include an additional config file.\n" " --font Font to use.\n" " --font-size Point size of text.\n" +" --font-features Set OpenType font features.\n" " --background-color Color of the background.\n" " --outline-width Width of the border outlines.\n" " --outline-color Color of the border outlines.\n" @@ -771,7 +772,7 @@ static void usage() " --prompt-text Prompt text.\n" " --prompt-padding Padding between prompt and input.\n" " --placeholder-text Placeholder input text.\n" -" --placeholder-color Color of placeholder input text.\n" +" --placeholder-color Color of placeholder input text.\n" " --num-results Maximum number of results to display.\n" " --selection-color Color of selected result.\n" " --selection-match-color Color of the matching portion of the\n" @@ -829,6 +830,7 @@ const struct option long_options[] = { {"corner-radius", required_argument, NULL, 0}, {"font", required_argument, NULL, 0}, {"font-size", required_argument, NULL, 0}, + {"font-features", required_argument, NULL, 0}, {"num-results", required_argument, NULL, 0}, {"selection-color", required_argument, NULL, 0}, {"selection-match-color", required_argument, NULL, 0}, -- cgit v1.2.3