mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-17 10:38:46 +00:00
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:
parent
63f61d080a
commit
4e8a0ae4c4
15 changed files with 64 additions and 38 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue