-
- if (strcmp(argv[1], "-h") == 0) {
- printf("syntax: %s <port>\n\n",argv[0]);
- printf("\tLinux example:'%s /dev/ttyACM0'\n\n", argv[0]);
- dumpAllHelp();
- return 0;
- }
+ if (strcmp(argv[1], "-h") == 0) {
+ printf("syntax: %s <port>\n\n",argv[0]);
+ printf("\tLinux example:'%s /dev/ttyACM0'\n\n", argv[0]);
+ dumpAllHelp(0);
+ return 0;
+ }
+ if (strcmp(argv[1], "-m") == 0) {
+ dumpAllHelp(1);
+ return 0;
+ }