diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2021-03-26 14:10:40 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2021-03-26 14:10:40 +0000 |
commit | 2bbcd7902a5e001fd962b43895cc75c69da68c4b (patch) | |
tree | 7142eb3451abab3c024edd460c67d080572d12b6 /main.c | |
parent | Update ChangeLog (diff) | |
download | w3m-2bbcd7902a5e001fd962b43895cc75c69da68c4b.tar.gz w3m-2bbcd7902a5e001fd962b43895cc75c69da68c4b.zip |
Ignore the "-" option to accept `w3m -` as "read from stdin"
Bug-Debian: https://github.com/tats/w3m/issues/87
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -786,7 +786,7 @@ main(int argc, char **argv, char **envp) usage(); } } - else if (!strcmp("-dummy", argv[i])) { + else if (!strcmp("-", argv[i]) || !strcmp("-dummy", argv[i])) { /* do nothing */ } else if (!strcmp("-debug", argv[i])) { |