]> git.feebdaed.xyz Git - 0xmirror/CANopenLinux.git/commitdiff
Reorder options and device name in usage text. (#26) master
authorHåkon Bårsaune <haakonbaa@gmail.com>
Mon, 18 Aug 2025 05:05:54 +0000 (07:05 +0200)
committerGitHub <noreply@github.com>
Mon, 18 Aug 2025 05:05:54 +0000 (07:05 +0200)
CO_main_basic.c

index 55b30e000136f8c8e2a69f5922f81403f471f41e..8082e22fce511fad0331d96568d720c9d28a9995 100644 (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");