3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-04-06 21:27:51 +02:00
iwd/client
Tim Kourt 0a1cd37228 client: Enable lookup of command options with no arguments.
Previously, command_option_get used to return NULL in the following
two scenarios: when command-line option with a such name didn’t exists
or its argument was not provided. This worked great for the cmd-line
options with the required arguments. With introduction of the cmd-line
options with no or optional arguments the function was changed to return
a boolean value indicating the existence of a such option and then, if
it had an argument - value_out variable would have been set.

Thereafter, this patch modifies the current usages of command_option_get.
Note, in these particular applications of command_option_get there is no
need to check the returned value from command_option_get, since these
options have the required arguments and we can only check if the value_out
parameter has been set or not.
2019-09-19 11:25:53 -05:00
..
2018-11-12 19:25:19 -06:00
2018-05-03 16:00:23 -05:00
2018-07-30 08:59:55 -05:00
2019-03-21 17:02:20 -05:00
2019-03-22 18:10:47 -05:00