style: Fix coding style violations in nuttx-apps

Fix various coding style issues including:
- Case statement formatting
- Include placement and ordering
- Whitespace issues
- Long line formatting
- Bracket alignment

Affected modules:
- audioutils, examples, include
- netutils, system

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2026-01-10 17:25:13 +08:00 • committed by Xiang Xiao
parent 63f61d080a
commit 4e8a0ae4c4
15 changed files with 64 additions and 38 deletions

View file

@ -51,10 +51,14 @@ static void show_usage(FAR const char *progname, FAR FILE *stream,
int exit_code)
{
fprintf(stream, "USAGE:\n");
fprintf(stream, "\t%s -uid <uid> - Show user info by ID\n", progname);
fprintf(stream, "\t%s -uname <name> - Show user info by name\n", progname);
fprintf(stream, "\t%s -gid <gid> - Show group info by ID\n", progname);
fprintf(stream, "\t%s -gname <name> - Show group info by name\n", progname);
fprintf(stream, "\t%s -uid <uid> - Show user info by ID\n",
progname);
fprintf(stream, "\t%s -uname <name> - Show user info by name\n",
progname);
fprintf(stream, "\t%s -gid <gid> - Show group info by ID\n",
progname);
fprintf(stream, "\t%s -gname <name> - Show group info by name\n",
progname);
fprintf(stream, "\t%s -h - Show this help info\n", progname);
exit(exit_code);
}