diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index 9700fa4de..a940607a6 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -141,7 +141,7 @@ static void register_gpio (void) { gpio_args.gpio = arg_int0(NULL, "gpio", "", "Specifies GPIO to be used"); gpio_args.mode = arg_str0(NULL, "mode", "", "Sets the mode of GPIO."); - gpio_args.level = arg_int0(NULL, ); + gpio_args.level = arg_int0(NULL, "level", "<1|0>", "Sets the level of GPIO."); const esp_console_cmd_t gpio_cmd = { .command = "GPIO", .help = "Sets/Gets GPIOs",