feh
feh copied to clipboard
--no-recursive works incorrectly
To make feh actually to not fetch images from subdirectories when using --start-at option, using --no-recursive option is useless.
I use workaround:
modified src/filelist.c
@@ -273,8 +273,8 @@ void add_file_to_filelist_recursively(char *origpath, unsigned char level)
- this way "feh some_dir" expands to some_dir's contents */
if (opt.recursive)
add_file_to_filelist_recursively(newfile, FILELIST_CONTINUE);
- else
- add_file_to_filelist_recursively(newfile, FILELIST_LAST);
+ /* else */
+ /* add_file_to_filelist_recursively(newfile, FILELIST_LAST); */
free(newfile);
}