commit - 5763426aa30e7fbf05748c70f44f7b435fcb511d
commit + d651dcfa6fe871c93d967b1b741d2ad4bbb9e2c2
blob - d7f14e7606560bbef80113d081dca440bc8ef372
blob + 4a617a41b7073d575cc264c085ff352daa38f63c
--- got/got.1
+++ got/got.1
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
__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);
}
if (errstr != NULL)
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)