Browse Source

Work around one more failing in help2man's option formatting.

Douglas William Thrift 13 years ago
parent
commit
6d6c652c02
2 changed files with 3 additions and 3 deletions
  1. 1 1
      GNUmakefile.in
  2. 2 2
      man1/dtpstree.1

+ 1 - 1
GNUmakefile.in

@@ -73,7 +73,7 @@ ifneq ($(REALPATH),:)
 man: $(srcdir)/man1/dtpstree.1
 
 $(srcdir)/man1/%.1: % %.man
-	$(HELP2MAN) -I $(filter %.man,$^) -Nn '$(shell sed -e '$$ s|^// ||p;d' $(srcdir)/$<.cpp)' -v -Vs $(shell $(REALPATH) $<) | sed -e 's/^\\fB\\-\([a-zA-Z]\)\([A-Z][A-Z]*\)\\fR/\\fB\\-\1\\fI\2\\fR/;s/^\\fB\\-\([a-zA-Z]\)\[\([A-Z][A-Z]*\)\]\\fR/\\fB\\-\1\\fR[\\fI\2\\fR]/' > $@
+	$(HELP2MAN) -I $(filter %.man,$^) -Nn '$(shell sed -e '$$ s|^// ||p;d' $(srcdir)/$<.cpp)' -v -Vs $(shell $(REALPATH) $<) | sed -e 's/^\\fB\\-\([a-zA-Z]\)\([A-Z][A-Z]*\)\\fR/\\fB\\-\1\\fI\2\\fR/;s/^\\fB\\-\([a-zA-Z]\)\[\([A-Z][A-Z]*\)\]\\fR/\\fB\\-\1\\fR[\\fI\2\\fR]/;s/^\([A-Z][A-Z]*\), \\fB\\-\\-/\\fI\1\\fR, \\fB\\-\\-/' > $@
 endif
 endif
 

+ 2 - 2
man1/dtpstree.1

@@ -64,10 +64,10 @@ use Unicode line drawing characters
 \fB\-V\fR, \fB\-\-version\fR
 show version information and exit
 .TP
-PID, \fB\-\-pid\fR=\fIPID\fR
+\fIPID\fR, \fB\-\-pid\fR=\fIPID\fR
 show only the tree rooted at the process PID
 .TP
-USER, \fB\-\-user\fR=\fIUSER\fR
+\fIUSER\fR, \fB\-\-user\fR=\fIUSER\fR
 show only trees rooted at processes of USER
 .SH AUTHOR
 Written by \fBDouglas Thrift\fR <\fIdouglas@douglasthrift.net\fR>.