[PATCH] Unify usage strings declaration
[git/dscho.git] / show-rev-cache.c
blobfa92b87abc6f15a0421e598be2941c9c5a9389b6
1 #include "cache.h"
2 #include "rev-cache.h"
4 static char *show_rev_cache_usage =
5 "git-show-rev-cache <rev-cache-file>";
7 int main(int ac, char **av)
9 while (1 < ac && av[0][1] == '-') {
10 /* do flags here */
11 break;
12 ac--; av++;
14 if (ac != 2)
15 usage(show_rev_cache_usage);
17 return read_rev_cache(av[1], stdout, 1);