Commit f2a7dc2d authored by chenhaowen's avatar chenhaowen

mofify and pretify help message

parent 8923fa94
......@@ -6,7 +6,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_NAME:=gdut-drcom
# Version: 1.0-1
PKG_VERSION:=1.5
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=CHW
# PKG_SOURCE_URL:=
define Package/gdut-drcom
......
......@@ -84,10 +84,10 @@ static void print_help(char *name)
" ___ ___/ /_ __/ /_ ___/ /__________ __ _ \n"
" / _ `/ _ / // / __/ / _ / __/ __/ _ \\/ ' \\\n"
" \\_, /\\_,_/\\_,_/\\__/ \\_,_/_/ \\__/\\___/_/_/_/\n"
" /___/ \n\n"
" /___/ "
);
fprintf(stdout, " A third-party drcom client for gdut.\n\n");
fprintf(stdout, "A third-party drcom client for gdut.\n");
fprintf(stdout, "usage:\n");
fprintf(stdout, " %s\n", name);
fprintf(stdout, " --remote-ip <ip addr> The server ip.\n");
......@@ -95,8 +95,7 @@ static void print_help(char *name)
fprintf(stdout, " [--remote-port <port>] The server port, default as 61440.\n");
fprintf(stdout, " [--keep-alive1-flag <flag>] The keep alive 1 packet's flag.\n"
" default as 00.\n");
fprintf(stdout, " [-c, --config-file <file>] The path to config file. \n"
" default as /etc/gdut-drcom.conf.\n");
fprintf(stdout, " [-c, --config-file <file>] The path to config file.\n");
fprintf(stdout, " [-h, --help] Print this message.\n");
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment