prefix usage with the common prefix "usage: "

This commit is contained in:
Hiltjo Posthuma 2022-08-16 13:17:00 +02:00
parent 02c00248d8
commit 37f2b1165a
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ main(int argc, char *argv[])
int i, ret = 0;
if (argc < 2) {
fprintf(stderr, "%s [repodir...]\n", argv[0]);
fprintf(stderr, "usage: %s [repodir...]\n", argv[0]);
return 1;
}

View File

@ -1184,7 +1184,7 @@ writerefs(FILE *fp)
void
usage(char *argv0)
{
fprintf(stderr, "%s [-c cachefile | -l commits] "
fprintf(stderr, "usage: %s [-c cachefile | -l commits] "
"[-u baseurl] repodir\n", argv0);
exit(1);
}