mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
Fix getopt() string so -o works.
This commit is contained in:
parent
87feaafc5b
commit
895ac9675f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123479
|
@ -171,7 +171,7 @@ main(int argc, char *argv[])
|
|||
char *inffile = NULL, *sysfile = NULL, *outfile = NULL;
|
||||
int ch;
|
||||
|
||||
while((ch = getopt(argc, argv, "i:s:o")) != -1) {
|
||||
while((ch = getopt(argc, argv, "i:s:o:")) != -1) {
|
||||
switch(ch) {
|
||||
case 'i':
|
||||
inffile = optarg;
|
||||
|
|
Loading…
Reference in a new issue