aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"