diff options
author | Anton Kling <anton@kling.gg> | 2024-12-12 16:03:08 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-12-12 16:03:08 +0100 |
commit | b033314bf1901d436dc71d41d5e1f37dda47e511 (patch) | |
tree | 120bd137888a7f96904a47af7d20422608ffe225 /userland/minibox/utilities/minibox.c | |
parent | dcbcdbdc5bcfb86eca05fb655e3bf009d89e39e0 (diff) |
formatting: Use clang-format on all projects
This commit also add braces to all `if` statements.
Diffstat (limited to 'userland/minibox/utilities/minibox.c')
-rw-r--r-- | userland/minibox/utilities/minibox.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/userland/minibox/utilities/minibox.c b/userland/minibox/utilities/minibox.c index ec5fdbd..f412efc 100644 --- a/userland/minibox/utilities/minibox.c +++ b/userland/minibox/utilities/minibox.c @@ -6,8 +6,9 @@ int main(int argc, char **argv); // Should a command be called via "minibox <command> <arguments>" then shift // argv and argc to become "<command> <arguments>" and rerun main() int minibox_main(int argc, char **argv) { - if (argc < 2) + if (argc < 2) { usage(); + } argc--; argv++; |