diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-12-28 14:28:45 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-30 13:05:29 -0800 |
commit | 5a40417876c8ec97e1f367a1638a558ec010e3d8 (patch) | |
tree | 5c9090da3b2860a6dab057675b759bebdcc8c230 /prio-queue.c | |
parent | cat-file docs: fix SYNOPSIS and "-h" output (diff) | |
download | tgif-5a40417876c8ec97e1f367a1638a558ec010e3d8.tar.xz |
cat-file: move "usage" variable to cmd_cat_file()
There's no benefit to defining this at a distance, and it makes the
code harder to read as you've got to scroll up to see the usage that
corresponds to the options.
In subsequent commits I'll make use of usage_msg_opt(), which will be
quite noisy if I have to use the long "cat_file_usage" variable,
there's no other command being defined in this file, so let's rename
it to just "usage".
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'prio-queue.c')
0 files changed, 0 insertions, 0 deletions