Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
gdut-drcom
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
gdut-drcom
Commits
f2a7dc2d
Commit
f2a7dc2d
authored
Oct 06, 2016
by
chenhaowen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mofify and pretify help message
parent
8923fa94
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile
Makefile
+1
-1
src/gdut-drcom.c
src/gdut-drcom.c
+3
-4
No files found.
Makefile
View file @
f2a7dc2d
...
@@ -6,7 +6,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
...
@@ -6,7 +6,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_NAME
:=
gdut-drcom
PKG_NAME
:=
gdut-drcom
# Version: 1.0-1
# Version: 1.0-1
PKG_VERSION
:=
1.5
PKG_VERSION
:=
1.5
PKG_RELEASE
:=
1
PKG_RELEASE
:=
2
PKG_MAINTAINER
:=
CHW
PKG_MAINTAINER
:=
CHW
# PKG_SOURCE_URL:=
# PKG_SOURCE_URL:=
define
Package/gdut-drcom
define
Package/gdut-drcom
...
...
src/gdut-drcom.c
View file @
f2a7dc2d
...
@@ -84,10 +84,10 @@ static void print_help(char *name)
...
@@ -84,10 +84,10 @@ static void print_help(char *name)
" ___ ___/ /_ __/ /_ ___/ /__________ __ _
\n
"
" ___ ___/ /_ __/ /_ ___/ /__________ __ _
\n
"
" / _ `/ _ / // / __/ / _ / __/ __/ _
\\
/ '
\\\n
"
" / _ `/ _ / // / __/ / _ / __/ __/ _
\\
/ '
\\\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
,
"usage:
\n
"
);
fprintf
(
stdout
,
" %s
\n
"
,
name
);
fprintf
(
stdout
,
" %s
\n
"
,
name
);
fprintf
(
stdout
,
" --remote-ip <ip addr> The server ip.
\n
"
);
fprintf
(
stdout
,
" --remote-ip <ip addr> The server ip.
\n
"
);
...
@@ -95,8 +95,7 @@ static void print_help(char *name)
...
@@ -95,8 +95,7 @@ static void print_help(char *name)
fprintf
(
stdout
,
" [--remote-port <port>] The server port, default as 61440.
\n
"
);
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
"
fprintf
(
stdout
,
" [--keep-alive1-flag <flag>] The keep alive 1 packet's flag.
\n
"
" default as 00.
\n
"
);
" default as 00.
\n
"
);
fprintf
(
stdout
,
" [-c, --config-file <file>] The path to config file.
\n
"
fprintf
(
stdout
,
" [-c, --config-file <file>] The path to config file.
\n
"
);
" default as /etc/gdut-drcom.conf.
\n
"
);
fprintf
(
stdout
,
" [-h, --help] Print this message.
\n
"
);
fprintf
(
stdout
,
" [-h, --help] Print this message.
\n
"
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment