@c This file is part of the Cfpeek manual.
@c Copyright (C) 2011--2021 Sergey Poznyakoff
@c See file cfpeek.texi for copying conditions.
@c *******************************************************************

@set PROGNAME @var{program-name}

@macro xopindex0{option,text}
@opindex \option\, --\option\ @r{option, \text\}
@end macro

@macro sopindex{option,text}
@opindex \option\, -\option\ @r{short option, \text\}
@end macro

@macro xopindex{lopt,sopt,text}
@xopindex0{\lopt\, \text\}
@sopindex{\sopt\, \text\}
@end macro

@macro opsummary0{lopt}
@ifclear ANCHOR--\lopt\
@set ANCHOR--\lopt\ 1
@anchor{lopt--\lopt\}
@end ifclear
@xopindex0{\lopt\, summary}
@end macro

@macro opsummary{lopt,sopt}
@ifclear ANCHOR--\lopt\
@set ANCHOR--\lopt\ 1
@anchor{lopt--\lopt\}
@end ifclear
@xopindex{\lopt\, \sopt\, summary}
@end macro

@macro runex{file,command}
@example
$ \command\
@include \file\.lst
@end example
@end macro

