Skip to content

Commit

Permalink
net: shell: stacks: Print config option needed for full info
Browse files Browse the repository at this point in the history
This is similar to how few commands already behave if they can
provide additional info to the user if particular config options
are enabled.

Signed-off-by: Paul Sokolovsky <[email protected]>
  • Loading branch information
pfalcon authored and jukkar committed Oct 23, 2017
1 parent 15c64b2 commit 91ac13d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subsys/net/ip/net_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -2168,6 +2168,8 @@ int net_shell_cmd_stacks(int argc, char *argv[])
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE, unused,
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE - unused,
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE, pcnt);
#else
printk("Enable CONFIG_INIT_STACKS to see usage information.\n");
#endif

return 0;
Expand Down

0 comments on commit 91ac13d

Please sign in to comment.