* FIX [broker] fix incorrect help message.
@@ -1256,7 +1256,7 @@ file_path_parse(int argc, char **argv, conf *config)
switch (rv) {
case NNG_EINVAL:
fprintf(stderr,
- "Option %s is invalid.\nTry 'nanomq broker --help' for "
+ "Option %s is invalid.\nTry 'nanomq --help' for "
"more information.\n",
argv[idx]);
break;
@@ -1268,7 +1268,7 @@ file_path_parse(int argc, char **argv, conf *config)
break;
case NNG_ENOARG:
fprintf(stderr,
- "Option %s requires argument.\nTry 'nanomq broker --help' "
+ "Option %s requires argument.\nTry 'nanomq --help' "
"for more information.\n",
argv[idx]);
break;
@@ -1351,7 +1351,7 @@ broker_parse_opts(int argc, char **argv, conf *config)
switch (rv) {
case NNG_EINVAL:
fprintf(stderr,
- "Option %s is invalid.\nTry 'nanomq broker --help' for "
+ "Option %s is invalid.\nTry 'nanomq --help' for "
"more information.\n",
argv[idx]);
break;
@@ -1363,7 +1363,7 @@ broker_parse_opts(int argc, char **argv, conf *config)
break;
case NNG_ENOARG:
fprintf(stderr,
- "Option %s requires argument.\nTry 'nanomq broker --help' "
+ "Option %s requires argument.\nTry 'nanomq --help' "
"for more information.\n",
argv[idx]);
break;
