Make it clear when the config file is loaded

This commit is contained in:
Christopher Wellons 2019-02-03 12:00:35 -05:00
parent 7619af17ba
commit 8e1d9fc28a
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ Usage information is printed with `-h`.
``` ```
Usage: endlessh [-vh] [-d MS] [-f CONFIG] [-l LEN] [-m LIMIT] [-p PORT] Usage: endlessh [-vh] [-d MS] [-f CONFIG] [-l LEN] [-m LIMIT] [-p PORT]
-d INT Message millisecond delay [10000] -d INT Message millisecond delay [10000]
-f Set config file [/etc/endlessh/config] -f Set and load config file [/etc/endlessh/config]
-h Print this help message and exit -h Print this help message and exit
-l INT Maximum banner line length (3-255) [32] -l INT Maximum banner line length (3-255) [32]
-m INT Maximum number of clients [4096] -m INT Maximum number of clients [4096]

View File

@ -401,7 +401,7 @@ usage(FILE *f)
"[-m LIMIT] [-p PORT]\n"); "[-m LIMIT] [-p PORT]\n");
fprintf(f, " -d INT Message millisecond delay [" fprintf(f, " -d INT Message millisecond delay ["
XSTR(DEFAULT_DELAY) "]\n"); XSTR(DEFAULT_DELAY) "]\n");
fprintf(f, " -f Set config file [" fprintf(f, " -f Set and load config file ["
DEFAULT_CONFIG_FILE "]\n"); DEFAULT_CONFIG_FILE "]\n");
fprintf(f, " -h Print this help message and exit\n"); fprintf(f, " -h Print this help message and exit\n");
fprintf(f, " -l INT Maximum banner line length (3-255) [" fprintf(f, " -l INT Maximum banner line length (3-255) ["