From 312c20f2c868d8fdc014108152cc7782ae6ec90b Mon Sep 17 00:00:00 2001 From: Yaroslav de la Peña Smirnov Date: Sat, 13 Sep 2025 01:37:55 +0300 Subject: clang-format: align with spaces Also format cli after the changes. --- cli/cli-example.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/cli-example.c') diff --git a/cli/cli-example.c b/cli/cli-example.c index 941ddd6..7ed4562 100644 --- a/cli/cli-example.c +++ b/cli/cli-example.c @@ -28,7 +28,7 @@ int calc_distance(const struct cli_cmd *, const struct cli_ctx *) return CLI_RC_OK; } -struct cli_opt *speed_opts[] = {&distance.opt, &time.opt, NULL}; +struct cli_opt *speed_opts[] = {&distance.opt, &time.opt, NULL}; struct cli_opt *distance_opts[] = {&speed.opt, &time.opt, NULL}; const struct cli_cmd my_cmds[] = { @@ -57,8 +57,8 @@ struct cli my_cli = { .header = "This is an example CLI program", .footer = "\nCopyright (c) 2025 Yaroslav de la Peña Smirnov " "", - .cmds = my_cmds, - .opts = global_opts, + .cmds = my_cmds, + .opts = global_opts, }; int main(int argc, char *argv[]) -- cgit v1.2.3