modprobe: add support for -l and -s. Remove some unsupported options

Fixed some goofs in help text

function                                             old     new   delta
modprobe_main                                        494     653    +159
packed_usage                                       27129   27145     +16
insmod_main                                           98      95      -3

Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Pascal Bellard
2010-06-07 01:16:45 +02:00
committed by Denys Vlasenko
parent e3657dcdd6
commit b82b34e06d
6 changed files with 194 additions and 166 deletions

View File

@@ -23,7 +23,7 @@ int losetup_main(int argc UNUSED_PARAM, char **argv)
};
/* max 2 args, all opts are mutually exclusive */
opt_complementary = "?2:d--of:o--df:f-do";
opt_complementary = "?2:d--of:o--df:f--do";
opt = getopt32(argv, "do:f", &opt_o);
argv += optind;