From 32e2cb851e5acd1163c9418a2efa138fcdac6070 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sun, 26 Jun 2022 00:01:36 +0100 Subject: Add bash completions. Also change --font-name option to just --font. --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 5747fcf..983a8fb 100644 --- a/src/main.c +++ b/src/main.c @@ -562,7 +562,7 @@ static void usage() "Usage: tofi [options]\n" " -h, --help Print this message and exit.\n" " -c, --config Specify a config file.\n" -" --font-name Font to use.\n" +" --font Font to use.\n" " --font-size Point size of text.\n" " --background-color Color of the background.\n" " --outline-width Width of the border outlines.\n" @@ -603,7 +603,7 @@ static void parse_args(struct tofi *tofi, int argc, char *argv[]) {"anchor", required_argument, NULL, 0}, {"background-color", required_argument, NULL, 0}, {"corner-radius", required_argument, NULL, 0}, - {"font-name", required_argument, NULL, 0}, + {"font", required_argument, NULL, 0}, {"font-size", required_argument, NULL, 0}, {"num-results", required_argument, NULL, 0}, {"selection-color", required_argument, NULL, 0}, -- cgit v1.2.3