Skip to content

Commit 00e3980

Browse files
committed
v3.18.1
1 parent 7235751 commit 00e3980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RscpMqttMain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2216,7 +2216,7 @@ int main(int argc, char *argv[]){
22162216
if ((!strcmp(argv[i], "--config") || !strcmp(argv[i], "-c")) && (i+1 < argc)) cfile = argv[++i];
22172217
if (!strcmp(argv[i], "--help")) {
22182218
printf("rscp2mqtt [%s] - Bridge between an E3/DC home power station and an MQTT broker\n\n", RSCP2MQTT);
2219-
printf("Usage: %s [options]\n\n", basename(argv[0]));
2219+
printf("Usage: rscp2mqtt [options]\n\n");
22202220
printf("Options:\n -c, --config <file>\n -d, --daemon\t\tdaemon mode\n -v, --verbose\t\tverbose mode\n\n");
22212221
printf("For more details please visit https://github.com/pvtom/rscp2mqtt\n");
22222222
exit(EXIT_SUCCESS);

0 commit comments

Comments
 (0)