]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/strutils: add helper function for --annotation option
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Wed, 24 Sep 2025 14:44:57 +0000 (10:44 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Wed, 24 Sep 2025 14:58:00 +0000 (10:58 -0400)
commitc58f5c34bfeb09af8cfd8f592de7d56a24f0c61f
treeec981d345b68f46d40c5580e19ba80ed4a2f94cf
parent5836f3ee6dd2fd18af0e2fda1698115b4f9619a0
lib/strutils: add helper function for --annotation option

This function helps evaluates the --annotation option argument
and determines whether annotations are enabled or not.
It is identical to the hyperlinkwanted() routine, and although
that forms some form of redundancy, it is intentionally kept
seperate for potential future changes.

Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
include/strutils.h
lib/strutils.c