From: Nishi Date: Mon, 16 Sep 2024 13:20:36 +0000 (+0000) Subject: better version info X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=4bb84bf4fe2edc08e1c905c1d7f5da50d34ff7dc;p=tewi.git better version info git-svn-id: file:///raid/svn-personal/tewi/trunk@36 8739d7e6-ffea-ec47-b151-bdff447c6205 --- 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]);