aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2015-11-19 16:08:12 +0000
committerHarry Jeffery <harry@exec64.co.uk>2015-11-19 16:08:12 +0000
commit28c53b379be0ab551587fcdfefc13fcaae9a2302 (patch)
treea1c8df1f100ec53b18709a30c0bdbca4ab8c6027
parent53fd3b8f3acb76db343446dd490d3032c7fa9fd6 (diff)
downloadimv-28c53b379be0ab551587fcdfefc13fcaae9a2302.tar.gz
Don't recommend -i in documentation
-rw-r--r--doc/imv.14
-rw-r--r--src/main.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/imv.1 b/doc/imv.1
index fc72bd1..eb358e3 100644
--- a/doc/imv.1
+++ b/doc/imv.1
@@ -3,7 +3,7 @@
imv \- image viewer
.SH SYNOPSIS
.nf
-\fBimv\fP [-irfaudh] [-n NUM] [images...]
+\fBimv\fP [-rfaudh] [-n NUM] [images...]
.fi
.sp
.SH DESCRIPTION
@@ -12,7 +12,7 @@ imv \- image viewer
It supports a wide variety of image file formats, including animated gif files.
.SH FLAGS
.TP
-.B -i
+.B -
Read paths from stdin. One path per line.
.TP
.B -r
diff --git a/src/main.c b/src/main.c
index 72ed95e..e4c199e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -50,10 +50,10 @@ void print_usage(const char* name)
{
fprintf(stdout,
"imv %s\n"
- "Usage: %s [-irfauh] [-n NUM] [-b BG] [images...]\n"
+ "Usage: %s [-rfaudh] [-n NUM] [-b BG] [-] [images...]\n"
"\n"
"Flags:\n"
- " -i: Read paths from stdin. One path per line.\n"
+ " -: Read paths from stdin. One path per line.\n"
" -r: Recursively search input paths.\n"
" -f: Start in fullscreen mode\n"
" -a: Default to images' actual size\n"