mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 23:11:38 +00:00
Sort the options in the switch.
Should make finding them a little easier.
This commit is contained in:
parent
d6b3d4891a
commit
1a767849ab
1 changed files with 14 additions and 14 deletions
|
@ -537,38 +537,38 @@ main (int argc, char **argv)
|
||||||
case 'd':
|
case 'd':
|
||||||
func = &operations[0];
|
func = &operations[0];
|
||||||
break;
|
break;
|
||||||
|
case 'F':
|
||||||
|
func = &operations[4];
|
||||||
|
break;
|
||||||
|
case 'f':
|
||||||
|
func = &operations[3];
|
||||||
|
break;
|
||||||
case 'g':
|
case 'g':
|
||||||
func = &operations[1];
|
func = &operations[1];
|
||||||
break;
|
break;
|
||||||
case 'h':
|
case 'h':
|
||||||
usage (0);
|
usage (0);
|
||||||
case 's':
|
|
||||||
func = &operations[2];
|
|
||||||
break;
|
|
||||||
case 'f':
|
|
||||||
func = &operations[3];
|
|
||||||
break;
|
|
||||||
case 'F':
|
|
||||||
func = &operations[4];
|
|
||||||
break;
|
|
||||||
case 'l':
|
case 'l':
|
||||||
func = &operations[5];
|
func = &operations[5];
|
||||||
break;
|
break;
|
||||||
case 'M':
|
case 'M':
|
||||||
func = &operations[6];
|
func = &operations[6];
|
||||||
break;
|
break;
|
||||||
case 'r':
|
case 'n':
|
||||||
func = &operations[7];
|
sorted = 1;
|
||||||
break;
|
break;
|
||||||
case 'P':
|
case 'P':
|
||||||
source_path = strdup (optarg);
|
source_path = strdup (optarg);
|
||||||
break;
|
break;
|
||||||
|
case 'r':
|
||||||
|
func = &operations[7];
|
||||||
|
break;
|
||||||
|
case 's':
|
||||||
|
func = &operations[2];
|
||||||
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
verbosity++;
|
verbosity++;
|
||||||
break;
|
break;
|
||||||
case 'n':
|
|
||||||
sorted = 1;
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
usage (1);
|
usage (1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue