diff options
author | Phil Jones <philj56@gmail.com> | 2022-06-26 00:01:36 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-06-26 00:01:36 +0100 |
commit | 32e2cb851e5acd1163c9418a2efa138fcdac6070 (patch) | |
tree | 75b780a8a3aa81e0b9c1f71c96518b034ec44f69 /src/main.c | |
parent | 54bfc7ead8b9f833bc8953dc1493d3b0cb6b9387 (diff) |
Add bash completions.
Also change --font-name option to just --font.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <name|path> Font to use.\n" +" --font <name|path> Font to use.\n" " --font-size <pt> Point size of text.\n" " --background-color <color> Color of the background.\n" " --outline-width <px> 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}, |