(mandoc_template): also fix no- prefix in .Sh OPTIONS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7941 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -157,7 +157,9 @@ mandoc_template(struct getargs *args,
|
||||
printf("\n");
|
||||
}
|
||||
if(args[i].long_name){
|
||||
printf(".Fl -%s", args[i].long_name);
|
||||
printf(".Fl -%s%s",
|
||||
args[i].type == arg_negative_flag ? "no-" : "",
|
||||
args[i].long_name);
|
||||
print_arg(buf, sizeof(buf), 1, 1, args + i);
|
||||
printf("%s\n", buf);
|
||||
}
|
||||
|
Reference in New Issue
Block a user