stagit

fork of https://codemadness.org/git/stagit/log.html
git clone git://git.clttr.info/stagit.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 3809ee5dd514593fa5c75d4fa6b480b01ed29e03
parent bd2d3aab770651b1b49ebf4fd37f0e50f8b4bba3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue, 16 Aug 2022 13:17:00 +0200

prefix usage with the common prefix "usage: "

Diffstat:
Mstagit-index.c | 2+-
Mstagit.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/stagit-index.c b/stagit-index.c @@ -180,7 +180,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; } diff --git a/stagit.c b/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); }