summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-02-15 21:25:37 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-02-15 21:25:37 +0100
commit421273de0c33da276dd8c1bfb19fe902e999521d (patch)
treece219e453f78550ac05f1de67c80cc2386d7db17 /src
parent62cd7faa910cce5194b62aefb2ee933809940fc6 (diff)
Add --sort=none
Diffstat (limited to 'src')
-rw-r--r--src/options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c
index d3524f7..80f13b6 100644
--- a/src/options.c
+++ b/src/options.c
@@ -537,6 +537,8 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
case OPTION_sort:
if (!strcasecmp(optarg, "name"))
opt.sort = SORT_NAME;
+ else if (!strcasecmp(optarg, "none"))
+ opt.sort = SORT_NONE;
else if (!strcasecmp(optarg, "filename"))
opt.sort = SORT_FILENAME;
else if (!strcasecmp(optarg, "dirname"))