diff options
author | Hiltjo Posthuma <[email protected]> | 2022-08-16 13:17:00 +0200 |
---|---|---|
committer | Hiltjo Posthuma <[email protected]> | 2022-08-16 13:17:00 +0200 |
commit | 37f2b1165a709e27d810624359b14acb487028fe (patch) | |
tree | 84c61ba485804a3472dc6d1eec8f5efc88d57804 | |
parent | 02c00248d8134c69758557a78e3c632ac77ae687 (diff) | |
download | stagit-37f2b1165a709e27d810624359b14acb487028fe.tar.gz stagit-37f2b1165a709e27d810624359b14acb487028fe.zip |
prefix usage with the common prefix "usage: "
-rw-r--r-- | stagit-index.c | 2 | ||||
-rw-r--r-- | stagit.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/stagit-index.c b/stagit-index.c index 735775b..6402296 100644 --- a/stagit-index.c +++ b/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; } @@ -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); } |