commit | 721ee31c36556b5a620ec5a74de223d8374479b2 | [log] [tgz] |
---|---|---|
author | Pisit Sawangvonganan <pisit@ndrsolution.com> | Thu Aug 08 11:55:42 2024 +0700 |
committer | Chris Friedt <chrisfriedt@gmail.com> | Thu Aug 08 20:21:13 2024 -0400 |
tree | d85a2b692ba27faf6e2fd74e955688023aad2b76 | |
parent | 2ef08cee38d46ed4af6d09a80badd3ed1b7461fe [diff] |
net: wifi: shell: enhance consistency in code style Enhancing code consistency provides cognitive leverage with the following changes: - Unified the order of declaration for `opt`, `opt_index`, `state`, and `long_options`. - Unified the wrapping of `getopt_long` calls, regardless of the length of the `options` string. - Renamed `option_index` to `opt_index` for consistency. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>