summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-02-28 17:54:17 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-02-28 17:55:47 +0100
commit5a2db8f2ffc4371d2e88a65567d85663e6d16b36 (patch)
tree09279aaf64051767df0880faaaf22636856770eb /man
parent4567042b5145b097c962499f26511aa5106f0e60 (diff)
Document --version-sort in feh(1)
Diffstat (limited to 'man')
-rw-r--r--man/feh.pre19
1 files changed, 16 insertions, 3 deletions
diff --git a/man/feh.pre b/man/feh.pre
index 640ae3f..5290f79 100644
--- a/man/feh.pre
+++ b/man/feh.pre
@@ -697,6 +697,15 @@ output useful information, progress bars, etc.
.
output version information and exit.
.
+.It Cm --version-sort
+.
+.Pq optional feature, $MAN_VERSCMP$ in this build
+Use natural sorting for file and directory names. In this mode, filenames are
+sorted as an ordinary human would expect, e.g.
+.Qq 2.jpg
+comes before
+.Qq 10.jpg .
+.
.It Cm --xinerama-index Ar screen
.
.Pq optional feature, $MAN_XINERAMA$ in this build
@@ -1697,10 +1706,14 @@ Show all images in ~/Pictures
.
Recursively show all images found in ~/Pictures and subdirectories
.
-.It feh -rSfilename ~/Pictures
+.It feh -rSfilename --version-sort ~/Pictures
.
-Same as above, but sort by filename. By default, feh will show files in the
-order it finds them on the hard disk, which is usually somewhat random.
+Same as above, but sort naturally. By default, feh will show files in the
+string order of their names, meaning e.g.
+.Qq foo 10.jpg
+will come before
+.Qq foo 2.jpg .
+In this case, they are instead ordered as a human would expect.
.
.It feh -t -Sfilename -E 128 -y 128 -W 1024 ~/Pictures
.