• Junio C Hamano's avatar
    Merge branch 'nd/command-list' · 2289880f
    Junio C Hamano authored
    The list of commands with their various attributes were spread
    across a few places in the build procedure, but it now is getting a
    bit more consolidated to allow more automation.
    * nd/command-list:
      completion: allow to customize the completable command list
      completion: add and use --list-cmds=alias
      completion: add and use --list-cmds=nohelpers
      Move declaration for alias.c to alias.h
      completion: reduce completable command list
      completion: let git provide the completable command list
      command-list.txt: documentation and guide line
      help: use command-list.txt for the source of guides
      help: add "-a --verbose" to list all commands with synopsis
      git: support --list-cmds=list-<category>
      completion: implement and use --list-cmds=main,others
      git --list-cmds: collect command list in a string_list
      git.c: convert --list-* to --list-cmds=*
      Remove common-cmds.h
      help: use command-list.h for common command list
      generate-cmds.sh: export all commands to command-list.h
      generate-cmds.sh: factor out synopsis extract code
pager.c 4.54 KB