Fix getopt(3) optstring: remove a flag we does not handle.
PR: bin/44066 Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> MFC after: 1 week
This commit is contained in:
parent
35739e072b
commit
a9a25f59fa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105248
@ -230,7 +230,7 @@ PRS(int argc, char **argv)
|
||||
if ((p = strchr(hostname, '.'))) {
|
||||
*p = '\0';
|
||||
}
|
||||
while ((c = getopt(argc, argv, "nrvFf:a:t:")) != -1)
|
||||
while ((c = getopt(argc, argv, "nrvFf:a:")) != -1)
|
||||
switch (c) {
|
||||
case 'n':
|
||||
noaction++;
|
||||
|
Loading…
Reference in New Issue
Block a user