Add warning about exec_* printers

This commit is contained in:
Maniack Crudelis 2019-03-03 17:25:07 +01:00 committed by GitHub
parent 15b3733e22
commit 58af343a84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,6 +89,7 @@ ynh_print_err () {
# usage: ynh_exec_err command to execute # usage: ynh_exec_err command to execute
# usage: ynh_exec_err "command to execute | following command" # usage: ynh_exec_err "command to execute | following command"
# In case of use of pipes, you have to use double quotes. Otherwise, this helper will be executed with the first command, then be sent to the next pipe. # In case of use of pipes, you have to use double quotes. Otherwise, this helper will be executed with the first command, then be sent to the next pipe.
# If the command to execute uses double quotes, they have to be escaped or they will be interpreted and removed.
# #
# | arg: command - command to execute # | arg: command - command to execute
ynh_exec_err () { ynh_exec_err () {
@ -100,6 +101,7 @@ ynh_exec_err () {
# usage: ynh_exec_warn command to execute # usage: ynh_exec_warn command to execute
# usage: ynh_exec_warn "command to execute | following command" # usage: ynh_exec_warn "command to execute | following command"
# In case of use of pipes, you have to use double quotes. Otherwise, this helper will be executed with the first command, then be sent to the next pipe. # In case of use of pipes, you have to use double quotes. Otherwise, this helper will be executed with the first command, then be sent to the next pipe.
# If the command to execute uses double quotes, they have to be escaped or they will be interpreted and removed.
# #
# | arg: command - command to execute # | arg: command - command to execute
ynh_exec_warn () { ynh_exec_warn () {
@ -111,6 +113,7 @@ ynh_exec_warn () {
# usage: ynh_exec_warn_less command to execute # usage: ynh_exec_warn_less command to execute
# usage: ynh_exec_warn_less "command to execute | following command" # usage: ynh_exec_warn_less "command to execute | following command"
# In case of use of pipes, you have to use double quotes. Otherwise, this helper will be executed with the first command, then be sent to the next pipe. # In case of use of pipes, you have to use double quotes. Otherwise, this helper will be executed with the first command, then be sent to the next pipe.
# If the command to execute uses double quotes, they have to be escaped or they will be interpreted and removed.
# #
# | arg: command - command to execute # | arg: command - command to execute
ynh_exec_warn_less () { ynh_exec_warn_less () {
@ -122,6 +125,7 @@ ynh_exec_warn_less () {
# usage: ynh_exec_quiet command to execute # usage: ynh_exec_quiet command to execute
# usage: ynh_exec_quiet "command to execute | following command" # usage: ynh_exec_quiet "command to execute | following command"
# In case of use of pipes, you have to use double quotes. Otherwise, this helper will be executed with the first command, then be sent to the next pipe. # In case of use of pipes, you have to use double quotes. Otherwise, this helper will be executed with the first command, then be sent to the next pipe.
# If the command to execute uses double quotes, they have to be escaped or they will be interpreted and removed.
# #
# | arg: command - command to execute # | arg: command - command to execute
ynh_exec_quiet () { ynh_exec_quiet () {
@ -133,6 +137,7 @@ ynh_exec_quiet () {
# usage: ynh_exec_fully_quiet command to execute # usage: ynh_exec_fully_quiet command to execute
# usage: ynh_exec_fully_quiet "command to execute | following command" # usage: ynh_exec_fully_quiet "command to execute | following command"
# In case of use of pipes, you have to use double quotes. Otherwise, this helper will be executed with the first command, then be sent to the next pipe. # In case of use of pipes, you have to use double quotes. Otherwise, this helper will be executed with the first command, then be sent to the next pipe.
# If the command to execute uses double quotes, they have to be escaped or they will be interpreted and removed.
# #
# | arg: command - command to execute # | arg: command - command to execute
ynh_exec_fully_quiet () { ynh_exec_fully_quiet () {