Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> writes: > For debugging, it can be useful to reference GPIOs relative to a > controller, e.g.: > > gpio_direction_output -d gpio4 20 1 > > - if (argc < count) > + if (optind < count) > return COMMAND_ERROR_USAGE; This change seems to make '-d ...' mandatory. E.g. | :/ gpio_get_value 65 | | gpio_get_value - return value of a GPIO pin | | Usage: gpio_get_value [-d CONTROLLER] GPIO Enrico