forked from github/server
command line parsing starts after the -
This commit is contained in:
parent
6b6132605f
commit
fc121f99a6
|
@ -157,7 +157,7 @@ read_args(int argc, char **argv)
|
||||||
int k;
|
int k;
|
||||||
boolean next = false;
|
boolean next = false;
|
||||||
|
|
||||||
for (k=0;!next && argv[i][k];++k) {
|
for (k=1;!next && argv[i][k];++k) {
|
||||||
int c = argv[i][k];
|
int c = argv[i][k];
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 'd':
|
case 'd':
|
||||||
|
|
Loading…
Reference in New Issue