• T
    builtin/merge_recursive.c: Add an usage string and make use of it. · e78d01bf
    Thiago Farina 提交于
    This improves the usage output by adding builtin_merge_recursive_usage string
    that follows the same pattern used by the other builtin commands.
    
    The previous output for git merger-recursive was:
    usage: merge-recursive <base>... -- <head> <remote> ...
    
    Now the output is:
    usage: git merge-recursive <base>... -- <head> <remote> ...
    
    Since cmd_merge_recursive is used to handle four different commands we need
    the %s in the usage string, so the following example:
    
    $ git merge-subtree -h
    
    Will output:
    usage: git merge-subtree <base>... -- <head> <remote> ...
    Signed-off-by: NThiago Farina <tfransosi@gmail.com>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    e78d01bf
merge-recursive.c 2.2 KB