mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
I lied before, now thrift really supports single or double dashes
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664870 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2329a83701
commit
52cb2234de
@ -428,7 +428,7 @@ int main(int argc, char** argv) {
|
||||
arg = strtok(argv[i], " ");
|
||||
while (arg != NULL) {
|
||||
// Treat double dashes as single dashes
|
||||
if (false && arg[0] == '-') {
|
||||
if (arg[0] == '-' && arg[1] == '-') {
|
||||
++arg;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user