SHTK_CLI_WARNING(3)

πŸ“¦ version 1.7, in nixos 26.05, nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to SHTK_CLI_WARNING(3) from the Library Functions Manual β€” this one is literally about printing a warning message πŸ’¬

shtk_cli_warning β€” prints a warning message 🫢

πŸŽ€ LIBRARY

shtk_import cli

πŸ’… SYNOPSIS

shtk_cli_warning message1 [.. messageN]

πŸ¦‹ DESCRIPTION

The shtk_cli_warning function prints the warning message you hand it to stderr. You can pass that message as one or more arguments, message1 through messageN β€” all the arguments get concatenated together into a single line. no cap ✨

The printed message has this exact form, where progname is determined by shtk_cli_progname(3):

progname: W: message1 .. messageN

Use shtk_cli_warning to tell the user about erroneous but non-critical conditions β€” the kind that still let the script continue execution. It’s giving β€œheads up bestie” energy, not β€œabort mission” energy 🫢

🌈 SEE ALSO

⭐ HISTORY

shtk_cli_warning first appeared in shtk 1.0.


xoxo bestie, this page was brought to you by Debian and dated November 5, 2014 β€” SHTK_CLI_WARNING(3) out πŸ’…πŸŽ€
πŸ“¦ where this page comes from