commit 37f2b1165a709e27d810624359b14acb487028fe from: Hiltjo Posthuma date: Tue Aug 16 11:17:00 2022 UTC prefix usage with the common prefix "usage: " commit - 02c00248d8134c69758557a78e3c632ac77ae687 commit + 37f2b1165a709e27d810624359b14acb487028fe blob - 735775b1ccbe8eef2434db2efa4ef90e8ae253f4 blob + 6402296bd1c0d614467e9ad8d04f52dd48c6cf3b --- stagit-index.c +++ stagit-index.c @@ -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; } blob - 2a9c3fe7bcb19dade7bf44f7496e67d0ec154308 blob + 61c9a53b1c5a8e30024c45b7efabb36db6ae24ec --- stagit.c +++ stagit.c @@ -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); }