summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c
index 870388b..89dcedd 100644
--- a/src/options.c
+++ b/src/options.c
@@ -389,6 +389,7 @@ static void feh_parse_option_array(int argc, char **argv)
{"action7", 1, 0, 215},
{"action8", 1, 0, 216},
{"action9", 1, 0, 217},
+ {"bg-fill", 1, 0, 218},
{"index-name", 1, 0, 230},
{"index-size", 1, 0, 231},
{"index-dim", 1, 0, 232},
@@ -652,6 +653,10 @@ static void feh_parse_option_array(int argc, char **argv)
opt.bgmode = BG_MODE_SEAMLESS;
opt.output_file = estrdup(optarg);
break;
+ case 218:
+ opt.bgmode = BG_MODE_FILL;
+ opt.output_file = estrdup(optarg);
+ break;
case 204:
free(opt.menu_style);
opt.menu_style = estrdup(optarg);
@@ -960,6 +965,7 @@ void show_usage(void)
" --bg-tile FILE\n"
" --bg-center FILE\n"
" --bg-scale FILE\n"
+ " --bg-fill FILE\n"
" --bg-seamless FILE Set your desktop background to FILE. Feh can\n"
" use enlightenment IPC if you are running it,\n"
" or will fall back to X methods.\n"