Download raw body.
got: Add -d to usage_log()
diff 5763426aa30e7fbf05748c70f44f7b435fcb511d 77e4cc2d2141a33e11872ae033c3126aa2173182
commit - 5763426aa30e7fbf05748c70f44f7b435fcb511d
commit + 77e4cc2d2141a33e11872ae033c3126aa2173182
blob - d7f14e7606560bbef80113d081dca440bc8ef372
blob + 4a617a41b7073d575cc264c085ff352daa38f63c
--- got/got.1
+++ got/got.1
@@ -787,7 +787,7 @@ in a pattern.
in a pattern.
.It Xo
.Cm log
-.Op Fl bPpRs
+.Op Fl bdPpRs
.Op Fl C Ar number
.Op Fl c Ar commit
.Op Fl l Ar N
blob - aaf34c7a1dabde267171e1e19cd7f49b72525be1
blob + f3bab984d4721436391e5b71e5cb14178af9a6ff
--- got/got.c
+++ got/got.c
@@ -4449,9 +4449,9 @@ usage_log(void)
__dead static void
usage_log(void)
{
- fprintf(stderr, "usage: %s log [-bPpRs] [-C number] [-c commit] [-l N] "
- "[-r repository-path] [-S search-pattern] [-x commit] [path]\n",
- getprogname());
+ fprintf(stderr, "usage: %s log [-bdPpRs] [-C number] [-c commit] "
+ "[-l N] [-r repository-path] [-S search-pattern] [-x commit] "
+ "[path]\n", getprogname());
exit(1);
}
@@ -4513,12 +4513,12 @@ cmd_log(int argc, char *argv[])
errx(1, "number of context lines is %s: %s",
errstr, optarg);
break;
- case 'd':
- show_diffstat = 1;
- break;
case 'c':
start_commit = optarg;
break;
+ case 'd':
+ show_diffstat = 1;
+ break;
case 'l':
limit = strtonum(optarg, 0, INT_MAX, &errstr);
if (errstr != NULL)
got: Add -d to usage_log()