summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2024-02-21 22:28:31 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2024-02-21 22:28:31 (EST)
commit00995f225cf49fa4a4894fcfbafe2502ec40e475 (patch)
treefbec3efe00770841aede4da45ea3e4a50ff3d2cc
parent4598385d984b94cb0b0e54cb971a2afc610f334d (diff)
ob_error(): Fix documentation (doesn't exit)
Also note that ob_error()'s "Error:" and ob_warn()'s "Warning:" may be translated.
-rw-r--r--lib/output.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/output.sh b/lib/output.sh
index 056c929..defadee 100644
--- a/lib/output.sh
+++ b/lib/output.sh
@@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with opkbuild. If not, see <http://www.gnu.org/licenses/>.
-## @brief Print an error message and exit
+## @brief Print an error message
## @details \fBob_error\fP() prints \fIarguments\fP according to \fIformat\fP.
## @operand format req The format string. See \fBprintf\fP(1) for the syntax
## of \fIformat\fP.
@@ -25,7 +25,7 @@
## \fIformat\fP.
## @return Returns 0.
## @stderr Prints the formatted message, preceded by the program name and
-## "Error:".
+## "Error:" (or a translation thereof).
## @pure yes This function has no side effects.
ob_error()
{
@@ -46,7 +46,7 @@ ob_error()
## \fIformat\fP.
## @return Returns 0.
## @stderr Prints the formatted message, preceded by the program name and
-## "Warning:".
+## "Warning:" (or a translation thereof).
## @pure yes This function has no side effects.
ob_warn()
{