Introduction
Introduction Statistics Contact Development Disclaimer Help
prefix usage with the common prefix "usage: " - stagit - static git page genera…
git clone git://git.codemadness.org/stagit
Log
Files
Refs
README
LICENSE
---
commit 37f2b1165a709e27d810624359b14acb487028fe
parent 02c00248d8134c69758557a78e3c632ac77ae687
Author: Hiltjo Posthuma <[email protected]>
Date: Tue, 16 Aug 2022 13:17:00 +0200
prefix usage with the common prefix "usage: "
Diffstat:
M stagit-index.c | 2 +-
M stagit.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git 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;
}
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);
}
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.