kmod-modinfo: add missing short options.

Thanks to falconindy for testing.
This commit is contained in:
Gustavo Sverzut Barbieri 2011-12-19 17:28:06 -02:00
parent 0cc3ccfd52
commit 022e1f0e0d

View File

@ -227,7 +227,7 @@ static int modinfo_alias_do(struct kmod_ctx *ctx, const char *alias)
return err;
}
static const char cmdopts_s[] = "adlpn0F:Vh";
static const char cmdopts_s[] = "adlpn0F:k:b:Vh";
static const struct option cmdopts[] = {
{"author", no_argument, 0, 'a'},
{"description", no_argument, 0, 'd'},