summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-08-22 10:49:19 +0100
committerPhil Jones <philj56@gmail.com>2022-08-22 10:49:19 +0100
commit226b063306291642b9bc9d5df0e54f2886d18486 (patch)
tree4e9bd295f0558c2e5cdc490a09c7821f9fa867bd /src/main.c
parentfaf685ca266d9cd3e2bb42d2ef105a5577cfcaf1 (diff)
Add --prompt-padding option.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 62a4e81..fa4ca48 100644
--- a/src/main.c
+++ b/src/main.c
@@ -784,6 +784,7 @@ static void usage()
" --border-color <color> Color of the border.\n"
" --text-color <color> Color of text.\n"
" --prompt-text <string> Prompt text.\n"
+" --prompt-padding <px> Padding between prompt and input.\n"
" --num-results <n> Maximum number of results to display.\n"
" --selection-color <color> Color of selected result.\n"
" --selection-match-color <color> Color of the matching portion of the\n"
@@ -840,6 +841,7 @@ const struct option long_options[] = {
{"outline-width", required_argument, NULL, 0},
{"outline-color", required_argument, NULL, 0},
{"prompt-text", required_argument, NULL, 0},
+ {"prompt-padding", required_argument, NULL, 0},
{"result-spacing", required_argument, NULL, 0},
{"min-input-width", required_argument, NULL, 0},
{"border-width", required_argument, NULL, 0},