Skip to content
  • Stephan Beyer's avatar
    Make usage strings dash-less · 1b1dd23f
    Stephan Beyer authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    When you misuse a git command, you are shown the usage string.
    But this is currently shown in the dashed form.  So if you just
    copy what you see, it will not work, when the dashed form
    is no longer supported.
    
    This patch makes git commands show the dash-less version.
    
    For shell scripts that do not specify OPTIONS_SPEC, git-sh-setup.sh
    generates a dash-less usage string now.
    
    Signed-off-by: default avatarStephan Beyer <s-beyer@gmx.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    1b1dd23f