markup_oops.pl: minor fixes
authorHui Zhu <hui.zhu@windriver.com>
Mon, 1 Feb 2010 05:41:22 +0000 (13:41 +0800)
committerMichal Marek <mmarek@suse.cz>
Fri, 5 Feb 2010 21:33:43 +0000 (22:33 +0100)
1. Fix a little format issue.
2. Check the return of "Getopt::Long::GetOptions".  Output usage and
   exit if it get error.
3. Change $ARGV[$#ARGV] to $ARGV[0].
4. Change the code which get $modulefile from modinfo.  Replace the
   pipeline with `modinfo -F filename $module`.
4. Change usage from "Specify the module directory name" to "Specify the
   module filename".

Signed-off-by: Hui Zhu <teawater@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>

No differences found