Skip to content

Commit febf4e8

Browse files
committed
shell: fix app version sub commands
commands should not have spaces around hyphens: version - extended --> version-extended build - version --> build-version Fixes: #96591 Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 896bdce commit febf4e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subsys/shell/modules/app_version_service.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ SHELL_STATIC_SUBCMD_SET_CREATE(
2929
sub_app,
3030
SHELL_CMD(version, NULL, "Application version. (ex. \"1.2.3-unstable.5\")",
3131
cmd_app_version_string),
32-
SHELL_CMD(version - extended, NULL,
32+
SHELL_CMD(version-extended, NULL,
3333
"Application version extended. (ex. \"1.2.3-unstable.5+4\")",
3434
cmd_app_version_extended_string),
35-
SHELL_CMD(build - version, NULL,
35+
SHELL_CMD(build-version, NULL,
3636
"Application build version. (ex. \"v3.3.0-18-g2c85d9224fca\")",
3737
cmd_app_build_version),
3838
SHELL_SUBCMD_SET_END /* Array terminated. */

0 commit comments

Comments
 (0)