1
0
Fork 0

Reorder options and device name in usage text. (#26)

This commit is contained in:
Håkon Bårsaune 2025-08-18 07:05:54 +02:00 committed by GitHub
parent 064b4c4e70
commit f1348d4072
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -213,7 +213,7 @@ LSScfgStoreCallback(void* object, uint8_t id, uint16_t bitRate) {
/* Print usage */
static void
printUsage(char* progName) {
printf("Usage: %s <CAN device name> [options]\n", progName);
printf("Usage: %s [options] <CAN device name>\n", progName);
printf("\n"
"Options:\n"
" -i <Node ID> CANopen Node-id (1..127) or 0xFF (LSS unconfigured).\n");