From 947669f063f3df9fc93a4afb2d7c9e6d3d13813a Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sat, 29 Jan 2011 15:34:18 +0100 Subject: added documentation --- src/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index cda9f29..1828e60 100644 --- a/src/main.c +++ b/src/main.c @@ -8,6 +8,10 @@ #define DEFAULT_PORT "12345" +/** + * Print usage information + * @param[in] name The name of the program (normally argv[0]) + */ static void print_usage(const char* name) { const char* usage = "Usage: %s [-u username] [-s address] [-n num_players] [-l] [-p port] [-m]\n" -- cgit v1.2.3