diff options
author | Daniel Friesel <ghub@derf.homelinux.org> | 2013-01-30 22:28:47 -0800 |
---|---|---|
committer | Daniel Friesel <ghub@derf.homelinux.org> | 2013-01-30 22:28:47 -0800 |
commit | f104f321475d0828a5d7600919d32635b0f77a68 (patch) | |
tree | 8f0ad713451491efed75d5d16cfb2771fb17c249 /src/options.c | |
parent | 71c7ff9ff8eca3008f4b08ef1c4a670b9eb7c7fa (diff) | |
parent | 4fae6007dd64d223cdae3f977003f38e3036bada (diff) |
Merge pull request #119 from guns/sort-mtime
New sort option: mtime
Diffstat (limited to 'src/options.c')
-rw-r--r-- | src/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c index cdd37d1..469115e 100644 --- a/src/options.c +++ b/src/options.c @@ -501,6 +501,8 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) opt.sort = SORT_NAME; else if (!strcasecmp(optarg, "filename")) opt.sort = SORT_FILENAME; + else if (!strcasecmp(optarg, "mtime")) + opt.sort = SORT_MTIME; else if (!strcasecmp(optarg, "width")) opt.sort = SORT_WIDTH; else if (!strcasecmp(optarg, "height")) |