Skip to content
Commit 721ee31c authored by Pisit Sawangvonganan's avatar Pisit Sawangvonganan Committed by Chris Friedt
Browse files

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: default avatarPisit Sawangvonganan <pisit@ndrsolution.com>
parent 2ef08cee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment