Code

[PATCH] diff-tree usage
authorPetr Baudis <pasky@ucw.cz>
Wed, 13 Apr 2005 09:39:33 +0000 (02:39 -0700)
committerPetr Baudis <xpasky@machine>
Wed, 13 Apr 2005 09:39:33 +0000 (02:39 -0700)
Fix diff-tree usage, since it takes -r instead of -R now.

Signed-off-by: Petr Baudis <pasky@ucw.cz>
diff-tree.c

index 2709f06ba044b2541db0d12ae0366a0ad976251c..4b9438c2937f52c93c268d4b82c9d821064d2ae9 100644 (file)
@@ -184,7 +184,7 @@ int main(int argc, char **argv)
                        recursive = 1;
                        continue;
                }
-               usage("diff-tree [-R] <tree sha1> <tree sha1>");
+               usage("diff-tree [-r] <tree sha1> <tree sha1>");
        }
 
        if (argc != 3 || get_sha1_hex(argv[1], old) || get_sha1_hex(argv[2], new))