Introduction
Introduction Statistics Contact Development Disclaimer Help
stagit-gopher-index: show usage when no repo is specified - stagit-gopher - sta…
git clone git://git.codemadness.org/stagit-gopher
Log
Files
Refs
README
LICENSE
---
commit 9b48ff8e67a3b23b301293a63e8d757c8305f522
parent 249271be279ada1e7323f413ab41db3a3b99fac9
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 6 Apr 2018 19:29:33 +0200
stagit-gopher-index: show usage when no repo is specified
similar to stagit-index (HTML version).
Diffstat:
M stagit-gopher-index.c | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/stagit-gopher-index.c b/stagit-gopher-index.c
@@ -273,6 +273,10 @@ main(int argc, char *argv[])
writelog(stdout);
}
+ if (!repodir) {
+ fprintf(stderr, "%s [-b baseprefix] [repodir...]\n", argv[0]);
+ return 1;
+ }
/* cleanup */
git_repository_free(repo);
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.