Allow reading from standard input
This commit is contained in:
parent
5ddf83ab5a
commit
9e528bef6f
|
@ -34,8 +34,11 @@ main(argc,argv) char **argv; {
|
|||
exit(-1);
|
||||
}
|
||||
filename = argv[1];
|
||||
}
|
||||
else if (argc == 1) {
|
||||
filename = "";
|
||||
} else
|
||||
error("Usage: %s [-c] [-d] [-v] table",argv[0]);
|
||||
error("Usage: %s [-c] [-d] [-v] [table]",argv[0]);
|
||||
initemhash();
|
||||
enterkeyw();
|
||||
initnodes();
|
||||
|
|
Loading…
Reference in a new issue