markup_oops.pl: minor fixes
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: NHui Zhu <teawater@gmail.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
Showing
想要评论请 注册 或 登录