src/mod/modpost.cpp: Add support for -I.

svn path=/dists/trunk/linux-kbuild-2.6/; revision=6813
This commit is contained in:
Bastian Blank 2006-06-17 20:03:48 +00:00
parent 2f04d5e020
commit 7898c22d84
1 changed files with 5 additions and 1 deletions

View File

@ -36,7 +36,7 @@ int main (int argc, char *const argv[])
const char *dump_read = 0, *dump_write = 0;
bool all_versions = false, modversions = false;;
while ((opt = getopt (argc, argv, "ai:mo:")) != -1)
while ((opt = getopt (argc, argv, "ai:I:mo:")) != -1)
{
switch(opt) {
case 'a':
@ -47,6 +47,10 @@ int main (int argc, char *const argv[])
case 'i':
dump_read = optarg;
break;
case 'I':
// Lacks special casing.
dump_read = optarg;
break;
case 'm':
modversions = true;
break;