X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=diff-no-index.c;h=aae8e7accc1ff955bd76c62b379b37f343f61cc4;hb=f22cd7fcc54a98277b3d2b82f1bb0b593658925c;hp=4ebc1dbd87d9b90ad2aaa5c7d4601761e2d1d724;hpb=78b77c491ff21e27dbaf1381268aeb380f0607b8;p=git.git diff --git a/diff-no-index.c b/diff-no-index.c index 4ebc1dbd8..aae8e7acc 100644 --- a/diff-no-index.c +++ b/diff-no-index.c @@ -201,8 +201,8 @@ void diff_no_index(struct rev_info *revs, return; } if (argc != i + 2) - die("git diff %s takes two paths", - no_index ? "--no-index" : "[--no-index]"); + usagef("git diff %s ", + no_index ? "--no-index" : "[--no-index]"); diff_setup(&revs->diffopt); for (i = 1; i < argc - 2; ) {