Skip to content

Commit

Permalink
posix: kconfig: remove select y from non-user-selectable help
Browse files Browse the repository at this point in the history
Several help prompts for non-user-selectable Kconfig options
included the phrase "select 'y' here", which does not make
any sense in this situation.

Adjust the help sections to use more appropriate language.

Signed-off-by: Chris Friedt <[email protected]>
  • Loading branch information
Chris Friedt committed Aug 30, 2024
1 parent fd84f93 commit 9b942b8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions lib/posix/options/Kconfig.device_io
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@ if POSIX_DEVICE_IO
config POSIX_DEVICE_IO_ALIAS_CLOSE
bool
help
Select 'y' here and Zephyr will provide an alias for close() as _close().
When selected via Kconfig, Zephyr will provide an alias for close() as _close().

config POSIX_DEVICE_IO_ALIAS_OPEN
bool
help
Select 'y' here and Zephyr will provide an alias for open() as _open().
When selected via Kconfig, Zephyr will provide an alias for open() as _open().

config POSIX_DEVICE_IO_ALIAS_READ
bool
help
Select 'y' here and Zephyr will provide an alias for read() as _read().
When selected via Kconfig, Zephyr will provide an alias for read() as _read().

config POSIX_DEVICE_IO_ALIAS_WRITE
bool
help
Select 'y' here and Zephyr will provide an alias for write() as _write().
When selected via Kconfig, Zephyr will provide an alias for write() as _write().

endif # POSIX_DEVICE_IO

Expand Down
6 changes: 3 additions & 3 deletions lib/posix/options/Kconfig.fd_mgmt
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ if POSIX_FD_MGMT
config POSIX_FD_MGMT_ALIAS_FCNTL
bool
help
Select 'y' here and Zephyr will provide an alias for fcntl() as _fcntl().
When selected via Kconfig, Zephyr will provide an alias for fcntl() as _fcntl().

config POSIX_FD_MGMT_ALIAS_FTRUNCATE
bool
help
Select 'y' here and Zephyr will provide an alias for ftruncate() as _ftruncate().
When selected via Kconfig, Zephyr will provide an alias for ftruncate() as _ftruncate().

config POSIX_FD_MGMT_ALIAS_LSEEK
bool
help
Select 'y' here and Zephyr will provide an alias for lseek() as _lseek().
When selected via Kconfig, Zephyr will provide an alias for lseek() as _lseek().

endif # POSIX_FD_MGMT
2 changes: 1 addition & 1 deletion lib/posix/options/Kconfig.fs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if POSIX_FILE_SYSTEM
config POSIX_FILE_SYSTEM_ALIAS_FSTAT
bool
help
Select 'y' here and Zephyr will provide an alias for fstat() as _fstat().
When selected via Kconfig, Zephyr will provide an alias for fstat() as _fstat().

config POSIX_FILE_SYSTEM_R
bool "Thread-Safe File System"
Expand Down

0 comments on commit 9b942b8

Please sign in to comment.