posix: getopt: select getopt by default with CONFIG_POSIX_API
The `getopt()` function is part of POSIX and should be available when applications choose to enable general POSIX API support. Signed-off-by: Chris Friedt <cfriedt@meta.com>
This commit is contained in:
parent
8b0f7b3e36
commit
bf5d47a5ce
@ -4,6 +4,7 @@
|
||||
|
||||
menuconfig GETOPT
|
||||
bool "Getopt library support"
|
||||
default y if POSIX_API
|
||||
help
|
||||
This option adds support of getopt.
|
||||
Different shell backends are use their own instance of getopt to
|
||||
|
||||
Loading…
Reference in New Issue
Block a user