Skip to content

Commit 75b4c33

Browse files
author
tgallone
committed
🐛 Fix italic text (italic is not supported for man pages)
1 parent 4abc908 commit 75b4c33

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

scripts/gen-man.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,17 @@
6363
startBold = "\\fB" # start bold text tag
6464
endBold = "\\fR" # end bold text tag
6565

66-
startItalic = "\\fI" # start italic text tag
67-
endItalic = "\\fP" # end italic text tag
68-
6966

7067
###### Argument decoration ######
7168

7269
### optional arguments tags ###
7370

7471
# if an optional argument is displayed as [?optArg] (with "optArg" underlined)
7572
# this value should be f"[?{startUnderline}"
76-
startOptionalArgument = f"[{startItalic}?"
73+
startOptionalArgument = f"[{startUnderline}?"
7774
# if an optional argument is displayed as [?optArg] (with "optArg underlined")
7875
# this value should be f"{endUnderline}]"
79-
endOptionalArgument = f"{endItalic}]"
76+
endOptionalArgument = f"{endUnderline}]"
8077

8178
### mandatory arguments tags ###
8279
startMandatoryArgument = f"{startUnderline}"

0 commit comments

Comments
 (0)