From 4bb84bf4fe2edc08e1c905c1d7f5da50d34ff7dc Mon Sep 17 00:00:00 2001 From: Nishi Date: Mon, 16 Sep 2024 13:20:36 +0000 Subject: [PATCH] better version info git-svn-id: file:///raid/svn-personal/tewi/trunk@36 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Server/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Server/main.c b/Server/main.c index 2300d29..0208019 100644 --- a/Server/main.c +++ b/Server/main.c @@ -44,7 +44,10 @@ int main(int argc, char** argv) { printf("Under public domain.\n"); printf("Original by 2024 Nishi\n"); printf("\n"); - printf(); + printf("Usage: %s [--config|-C config] [--verbose|-v] [--version|-V]\n", argv[0]); + printf("--config | -C config : Specify config\n"); + printf("--verbose | -v : Verbose mode\n"); + printf("--version | -V : Version information\n"); return 0; } else { fprintf(stderr, "Unknown option: %s\n", argv[i]); -- 2.43.0