Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce44498

Browse files
committed
Revise the description of \programopt, document \longprogramopt.
1 parent 4936249 commit ce44498

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

Doc/doc/doc.tex

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,15 @@ \section{Special Markup Constructs}
506506
\end{macrodesc}
507507

508508
\begin{macrodesc}{programopt}{\p{option}}
509-
A command-line option to an executable program.
509+
A command-line option to an executable program. Use this only
510+
for ``shot'' options, and include the leading hyphen.
511+
\end{macrodesc}
512+
513+
\begin{macrodesc}{longprogramopt}{\p{option}}
514+
A long command-line option to an executable program. This
515+
should only be used for long option names which will be prefixed
516+
by two hyphens; the hyphens should not be provided as part of
517+
\var{option}.
510518
\end{macrodesc}
511519

512520
\begin{macrodesc}{refmodule}{\op{key}\p{name}}
@@ -987,7 +995,7 @@ \section{Processing Tools}
987995
symbolic link to it or run it in place; the actual script file
988996
must be stored as part of the documentation source tree,
989997
though it may be used to format documents outside the
990-
tree. Use \program{mkhowto} \programopt{-}\programopt{-help}
998+
tree. Use \program{mkhowto} \longprogramopt{help}
991999
for a list of
9921000
command line options.
9931001

0 commit comments

Comments
 (0)