helpers: Flag ynh_print_ON/OFF as internal to not advertise them in the doc

This commit is contained in:
Alexandre Aubin 2021-10-12 16:53:01 +02:00
parent c060670924
commit fe959bd7fa

View file

@ -174,6 +174,8 @@ ynh_exec_fully_quiet() {
# #
# usage: ynh_print_OFF # usage: ynh_print_OFF
# #
# [internal]
#
# WARNING: You should be careful with this helper, and never forget to use ynh_print_ON as soon as possible to restore the logging. # WARNING: You should be careful with this helper, and never forget to use ynh_print_ON as soon as possible to restore the logging.
# #
# Requires YunoHost version 3.2.0 or higher. # Requires YunoHost version 3.2.0 or higher.
@ -185,6 +187,8 @@ ynh_print_OFF() {
# #
# usage: ynh_print_ON # usage: ynh_print_ON
# #
# [internal]
#
# Requires YunoHost version 3.2.0 or higher. # Requires YunoHost version 3.2.0 or higher.
ynh_print_ON() { ynh_print_ON() {
exec {BASH_XTRACEFD}>&1 exec {BASH_XTRACEFD}>&1