kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit edfd5c3d49748e5fc32a696502f9b3ee19b55d8a
parent 28922323a7a93f63c1de883ba79dcf3ec51db6ef
Author: Joris Vink <joris@coders.se>
Date:   Mon,  2 Apr 2018 18:20:57 +0200

update -h output a bit.

Diffstat:
src/kore.c | 12+++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/kore.c b/src/kore.c @@ -62,11 +62,8 @@ static void kore_server_sslstart(void); static void usage(void) { -#if !defined(KORE_SINGLE_BINARY) - fprintf(stderr, "Usage: kore [options]\n"); -#else fprintf(stderr, "Usage: %s [options]\n", __progname); -#endif + fprintf(stderr, "\n"); fprintf(stderr, "Available options:\n"); #if !defined(KORE_SINGLE_BINARY) @@ -79,9 +76,14 @@ usage(void) fprintf(stderr, "\t-h\tthis help text\n"); fprintf(stderr, "\t-n\tdo not chroot\n"); fprintf(stderr, "\t-r\tdo not drop privileges\n"); - fprintf(stderr, "\t-v\tdisplay kore build information\n"); + fprintf(stderr, "\t-v\tdisplay %s build information\n", __progname); +#if !defined(KORE_SINGLE_BINARY) fprintf(stderr, "\nFind more information on https://kore.io\n"); +#else + fprintf(stderr, "\nBuilt using https://kore.io\n"); +#endif + exit(1); }