Ignore the "-" option to accept w3m - as "read from stdin"
Bug-Debian: https://github.com/tats/w3m/issues/87
This commit is contained in:
@@ -786,7 +786,7 @@ main(int argc, char **argv, char **envp)
|
|||||||
usage();
|
usage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!strcmp("-dummy", argv[i])) {
|
else if (!strcmp("-", argv[i]) || !strcmp("-dummy", argv[i])) {
|
||||||
/* do nothing */
|
/* do nothing */
|
||||||
}
|
}
|
||||||
else if (!strcmp("-debug", argv[i])) {
|
else if (!strcmp("-debug", argv[i])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user