diff --git a/examples/foc/foc_parseargs.c b/examples/foc/foc_parseargs.c index b4d297e1e..d94b35027 100644 --- a/examples/foc/foc_parseargs.c +++ b/examples/foc/foc_parseargs.c @@ -82,11 +82,11 @@ static void foc_help(void) PRINTF("Usage: foc [OPTIONS]\n"); PRINTF(" [-t] run time\n"); PRINTF(" [-h] shows this message and exits\n"); - PRINTF(" [-m] operation mode\n"); + PRINTF(" [-f] FOC run mode\n"); PRINTF(" 1 - IDLE mode\n"); PRINTF(" 2 - voltage mode\n"); PRINTF(" 3 - current mode\n"); - PRINTF(" [-c] controller mode\n"); + PRINTF(" [-m] controller mode\n"); PRINTF(" 1 - torqe control\n"); PRINTF(" 2 - velocity control\n"); PRINTF(" 3 - position control\n");