Skip to content
  • Stephan Beyer's avatar
    Docs: Use "-l::\n--long\n" format in OPTIONS sections · 3240240f
    Stephan Beyer authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    The OPTIONS section of a documentation file contains a list
    of the options a git command accepts.
    
    Currently there are several variants to describe the case that
    different options (almost) do the same in the OPTIONS section.
    
    Some are:
    
     -f, --foo::
     -f|--foo::
     -f | --foo::
    
    But AsciiDoc has the special form:
    
     -f::
     --foo::
    
    This patch applies this form to the documentation of the whole git suite,
    and removes useless em-dash prevention, so \--foo becomes --foo.
    
    Signed-off-by: default avatarStephan Beyer <s-beyer@gmx.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    3240240f