commit | 2ef08cee38d46ed4af6d09a80badd3ed1b7461fe | [log] [tgz] |
---|---|---|
author | Pisit Sawangvonganan <pisit@ndrsolution.com> | Thu Aug 08 11:06:23 2024 +0700 |
committer | Chris Friedt <chrisfriedt@gmail.com> | Thu Aug 08 20:21:13 2024 -0400 |
tree | bb48d989a7a26adb34656342e1d7baa72313700e | |
parent | 5af4e9df2fa265ae09075f968d1fd06e23f772cd [diff] |
net: wifi: shell: use `getopt_state` for safer `optarg` access Using `getopt_state` to access `optarg` and also `optopt` offers a better alternative to direct global access. See e145eb9201e for the previous change related to this. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>