@@ -160,7 +160,7 @@ int tcp_create_core(const struct shell *shell, size_t argc, char **argv, int fam
160160{
161161 if (argc < 2 ){
162162 shell_error (shell , "Missing required arguments" );
163- z_shell_help_subcmd_print_selitem (shell );
163+ shell_help (shell );
164164 return - EINVAL ;
165165 }
166166 int idx = strtol (argv [1 ], NULL , 10 );
@@ -211,7 +211,7 @@ int tcp_create_tls_core(const struct shell *shell, size_t argc, char **argv, int
211211
212212 if (argc < 2 ){
213213 shell_error (shell , "Missing required arguments" );
214- z_shell_help_subcmd_print_selitem (shell );
214+ shell_help (shell );
215215 return - EINVAL ;
216216 }
217217
@@ -282,7 +282,7 @@ int udp_create_core(const struct shell *shell, size_t argc, char **argv, int fam
282282{
283283 if (argc < 2 ){
284284 shell_error (shell , "Missing required arguments" );
285- z_shell_help_subcmd_print_selitem (shell );
285+ shell_help (shell );
286286 return - EINVAL ;
287287 }
288288 int idx = strtol (argv [1 ], NULL , 10 );
@@ -336,7 +336,7 @@ int udp_create_dtls_core(const struct shell *shell, size_t argc, char **argv, in
336336 int ret = 0 ;
337337 if (argc < 2 ){
338338 shell_error (shell , "Missing required arguments" );
339- z_shell_help_subcmd_print_selitem (shell );
339+ shell_help (shell );
340340 return - EINVAL ;
341341 }
342342
@@ -551,7 +551,7 @@ int sock_connect(const struct shell *shell, size_t argc, char **argv)
551551{
552552 if (argc < 4 ){
553553 shell_error (shell , "Missing required arguments" );
554- z_shell_help_subcmd_print_selitem (shell );
554+ shell_help (shell );
555555 return - EINVAL ;
556556 }
557557 int ret ;
@@ -679,7 +679,7 @@ int sock_bind(const struct shell *shell, size_t argc, char **argv)
679679{
680680 if (argc < 4 ){
681681 shell_error (shell , "Missing required arguments" );
682- z_shell_help_subcmd_print_selitem (shell );
682+ shell_help (shell );
683683 return - EINVAL ;
684684 }
685685 int sd = strtol (argv [1 ], NULL , 10 );
@@ -711,7 +711,7 @@ int sock_send(const struct shell *shell, size_t argc, char **argv)
711711{
712712 if (argc < 3 ){
713713 shell_error (shell , "Missing required arguments" );
714- z_shell_help_subcmd_print_selitem (shell );
714+ shell_help (shell );
715715 return - EINVAL ;
716716 }
717717
@@ -742,7 +742,7 @@ int sock_sendto(const struct shell *shell, size_t argc, char **argv)
742742{
743743 if (argc < 5 ){
744744 shell_error (shell , "Missing required arguments" );
745- z_shell_help_subcmd_print_selitem (shell );
745+ shell_help (shell );
746746 return - EINVAL ;
747747 }
748748
@@ -831,7 +831,7 @@ int sock_sendb(const struct shell *shell, size_t argc, char **argv)
831831{
832832 if (argc < 3 ){
833833 shell_error (shell , "Missing required arguments" );
834- z_shell_help_subcmd_print_selitem (shell );
834+ shell_help (shell );
835835 return - EINVAL ;
836836 }
837837
@@ -920,7 +920,7 @@ int sock_recvb(const struct shell *shell, size_t argc, char **argv)
920920{
921921 if (argc < 3 ){
922922 shell_error (shell , "Missing required arguments" );
923- z_shell_help_subcmd_print_selitem (shell );
923+ shell_help (shell );
924924 return - EINVAL ;
925925 }
926926
@@ -973,7 +973,7 @@ int sock_rcv(const struct shell *shell, size_t argc, char **argv)
973973{
974974 if (argc < 2 ){
975975 shell_error (shell , "Missing required arguments" );
976- z_shell_help_subcmd_print_selitem (shell );
976+ shell_help (shell );
977977 return - EINVAL ;
978978 }
979979 int sd = (int )strtol (argv [1 ], NULL , 10 );
@@ -1017,7 +1017,7 @@ int sock_rcvfrom(const struct shell *shell, size_t argc, char **argv)
10171017{
10181018 if (argc < 2 ){
10191019 shell_error (shell , "Missing required arguments" );
1020- z_shell_help_subcmd_print_selitem (shell );
1020+ shell_help (shell );
10211021 return - EINVAL ;
10221022 }
10231023 int sd = (int )strtol (argv [1 ], NULL , 10 );
@@ -1068,7 +1068,7 @@ int sock_close(const struct shell *shell, size_t argc, char **argv)
10681068{
10691069 if (argc < 2 ){
10701070 shell_error (shell , "Missing required arguments" );
1071- z_shell_help_subcmd_print_selitem (shell );
1071+ shell_help (shell );
10721072 return - EINVAL ;
10731073 }
10741074 int sd = strtol (argv [1 ], NULL , 10 );
@@ -1103,7 +1103,7 @@ int sock_sendsms(const struct shell *shell, size_t argc, char **argv)
11031103
11041104 if (argc != 4 ){
11051105 shell_error (shell , "Missing required arguments" );
1106- z_shell_help_subcmd_print_selitem (shell );
1106+ shell_help (shell );
11071107 return - EINVAL ;
11081108 }
11091109
@@ -1134,7 +1134,7 @@ int sock_recvsms(const struct shell *shell, size_t argc, char **argv)
11341134
11351135 if (argc != 3 ){
11361136 shell_error (shell , "Missing required arguments" );
1137- z_shell_help_subcmd_print_selitem (shell );
1137+ shell_help (shell );
11381138 return - EINVAL ;
11391139 }
11401140
@@ -1492,7 +1492,7 @@ int cmd_http(const struct shell *shell, size_t argc, char **argv)
14921492 shell_error (shell , "Missing required argument" );
14931493 shell_print (shell , "Usage: tmo http <devid> <URL> <file (optional)>\n"
14941494 " devid: 1 for modem, 2 for wifi\n" );
1495- z_shell_help_subcmd_print_selitem (shell );
1495+ shell_help (shell );
14961496 return - EINVAL ;
14971497 }
14981498
@@ -1744,7 +1744,7 @@ int cmd_dfu_set_iface(const struct shell *shell, size_t argc, char **argv)
17441744{
17451745 if (argc < 2 ){
17461746 shell_error (shell , "Missing required arguments" );
1747- z_shell_help_subcmd_print_selitem (shell );
1747+ shell_help (shell );
17481748 return - EINVAL ;
17491749 }
17501750 int idx = strtol (argv [1 ], NULL , 10 );
@@ -2309,7 +2309,7 @@ int cmd_json_set_iface(const struct shell *shell, size_t argc, char **argv)
23092309{
23102310 if (argc < 2 ) {
23112311 shell_error (shell , "Missing required arguments" );
2312- z_shell_help_subcmd_print_selitem (shell );
2312+ shell_help (shell );
23132313 return - EINVAL ;
23142314 }
23152315 int idx = strtol (argv [1 ], NULL , 10 );
@@ -2326,7 +2326,7 @@ int cmd_json_transmit_interval(const struct shell *shell, size_t argc, char **ar
23262326{
23272327 if (argc < 2 ) {
23282328 shell_error (shell , "Missing required arguments" );
2329- z_shell_help_subcmd_print_selitem (shell );
2329+ shell_help (shell );
23302330 return - EINVAL ;
23312331 }
23322332 int secs = strtol (argv [1 ], NULL , 10 );
0 commit comments