smol_http

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit fc3726c3decf79279b80a769cdb3d2ed44f32328
parent faf705e799cb093ba401a1adfb7193a16e9c1ef3
Author: Anton Kling <anton@kling.gg>
Date:   Sat,  1 Jan 2022 14:27:56 +0100

Added -d option to the -h usage print

Diffstat:
Msmol_http.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/smol_http.c b/smol_http.c @@ -1,5 +1,5 @@ /* -Copyright © 2021 Anton Kling <anton@kling.gg> +Copyright © 2021-2022 Anton Kling <anton@kling.gg> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as @@ -354,7 +354,7 @@ int init_server(short port, const char * website_root) void usage(const char * const str) { fprintf(stderr, - "Usage: %s [-p PORT] -h(Print this message)\n", str); + "Usage: %s [-p PORT] [-d Website root directory] -h(Print this message)\n", str); puts("---"); puts(COPYRIGHT_STATEMENT); }