Modify help information

This commit is contained in:
aixiao 2020-03-24 14:15:15 +08:00
parent e6072984a2
commit f9f3abda71
2 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@
apt-get install gcc-aarch64-linux-gnu apt-get install gcc-aarch64-linux-gnu
make clean; CROSS_COMPILE=aarch64-linux-gnu- make make clean; CROSS_COMPILE=aarch64-linux-gnu- make
Android 编译: Android NDK 编译:
ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=Application.mk APP_BUILD_SCRIPT=Android.mk ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=Application.mk APP_BUILD_SCRIPT=Android.mk
### Help Information ### Help Information
@ -29,7 +29,7 @@
-t --timeout : timeout minute, default: no timeout -t --timeout : timeout minute, default: no timeout
-e --coding : ssl coding, default: [0-128] -e --coding : ssl coding, default: [0-128]
-s --signal : send signal to a master process: stop, quit, restart, reload, status -s --signal : send signal to a master process: stop, quit, restart, reload, status
-c --config : set configuration file, default: CProxy.ini -c --config : set configuration file, default: CProxy.conf
-? -h --? --help : help information -? -h --? --help : help information
Mar 22 2020 09:29:11 Compile、link. Mar 22 2020 09:29:11 Compile、link.
@ -42,6 +42,6 @@
./CProxy -s reload -c CProxy.ini ./CProxy -s reload -c CProxy.ini
or or
./CProxy -s restart -c CProxy.ini ./CProxy -s restart -c CProxy.ini
#状态(只打印Pid) #状态(只打印 Pid)
./CProxy -s status ./CProxy -s status

2
help.c
View File

@ -20,7 +20,7 @@ char help_information(void)
" -t --timeout : timeout minute, default: no timeout", " -t --timeout : timeout minute, default: no timeout",
" -e --coding : ssl coding, default: [0-128]", " -e --coding : ssl coding, default: [0-128]",
" -s --signal : send signal to a master process: stop, quit, restart, reload, status", " -s --signal : send signal to a master process: stop, quit, restart, reload, status",
" -c --config : set configuration file, default: CProxy.ini", " -c --config : set configuration file, default: CProxy.conf",
" -? -h --? --help : help information", " -? -h --? --help : help information",
"", "",
0 0