pvxs::GetOpt POSIXLY_CORRECT ordering
This commit is contained in:
1 parent
b63700cf1c
commit
b0c9427c82
2 files changed
+28
-4
No files matched your search
@@ -75,6 +75,8 @@ nextarg:
|
||||
|
||||
} else {
|
||||
positional.push_back(arg);
|
||||
// replicate POSIXLY_CORRECT= behavior. Require options before positional.
|
||||
allpos = true;
|
||||
}
|
||||
success = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user