Sort the options in the switch.

Should make finding them a little easier.
This commit is contained in:
Bill Currie 2010-12-24 17:35:33 +09:00
parent d6b3d4891a
commit 1a767849ab

View file

@ -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);
} }