Skip to content

Commit eafa2bb

Browse files
Balaklakajhedberg
authored andcommitted
Bluetooth: Mesh: Fixed shell call to metadata-encode
The call to metadata-encode call in code and documentation does does not match. Because the shell call in the documentation looks correct the shell call in the code has been changed by removeing the double metadata request. Signed-off-by: Ingar Kulbrandstad <[email protected]>
1 parent 66769cf commit eafa2bb

File tree

1 file changed

+1
-1
lines changed
  • subsys/bluetooth/mesh/shell

1 file changed

+1
-1
lines changed

subsys/bluetooth/mesh/shell/dfu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(
960960
"{<SigMID>|<VndCID> <VndMID>}...",
961961
cmd_dfu_comp_elem_add, 5, 10),
962962
SHELL_CMD_ARG(comp-hash-get, NULL, "[<Key>]", cmd_dfu_comp_hash_get, 1, 1),
963-
SHELL_CMD_ARG(metadata-encode, NULL, "<Major> <Minor> <Rev> <BuildNum> <Size> "
963+
SHELL_CMD_ARG(encode, NULL, "<Major> <Minor> <Rev> <BuildNum> <Size> "
964964
"<CoreType> <Hash> <Elems> [<UserData>]",
965965
cmd_dfu_metadata_encode, 9, 1),
966966
SHELL_SUBCMD_SET_END);

0 commit comments

Comments
 (0)