![]() | |||||||||||
Messages in this thread Patch in this message |
On 04/04/2007 01:26 PM, Rene Herman wrote: > Can we have a MODULE_MAINTAINER to complement MODULE_AUTHOR? And here's the accompanying patch to the module-init-tools-3.3-pre1 as found on http://kernel.org/pub/linux/utils/kernel/module-init-tools/ Rene. --- module-init-tools-3.3-pre1/modinfo.c.orig 2007-04-04 12:54:19.000000000 +0200 +++ module-init-tools-3.3-pre1/modinfo.c 2007-04-04 12:59:42.000000000 +0200 @@ -213,6 +213,7 @@ static struct option options[] = { {"author", 0, 0, 'a'}, + {"maintainer", 0, 0, 'm'}, {"description", 0, 0, 'd'}, {"license", 0, 0, 'l'}, {"parameters", 0, 0, 'p'}, @@ -347,9 +348,10 @@ else abort(); - while ((opt = getopt_long(argc,argv,"adlpVhn0F:",options,NULL)) >= 0){ + while ((opt = getopt_long(argc,argv,"amdlpVhn0F:",options,NULL)) >= 0){ switch (opt) { case 'a': field = "author"; break; + case 'm': field = "maintainer"; break; case 'd': field = "description"; break; case 'l': field = "license"; break; case 'p': field = "parm"; break; | ||||||||||
| Last update: 2007-04-04 13:33 [from the cache] ©2003-2008 | |||||||||||