• Duy Nguyen's avatar
    help: add --config to list all available config · 3ac68a93
    Duy Nguyen authored
    Sometimes it helps to list all available config vars so the user can
    search for something they want. The config man page can also be used
    but it's harder to search if you want to focus on the variable name,
    for example.
    This is not the best way to collect the available config since it's
    not precise. Ideally we should have a centralized list of config in C
    code (pretty much like 'struct option'), but that's a lot more work.
    This will do for now.
    Signed-off-by: Duy Nguyen's avatarNguyễn Thái Ngọc Duy <pclouds@gmail.com>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
generate-cmdlist.sh 1.6 KB