summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-07-28 10:54:05 +0900
committerJulian Andres Klode <julian.klode@canonical.com>2024-07-28 10:54:05 +0900
commit847c60af9eaa4b1dc3c6c3afa94bf494b721a1b7 (patch)
treec2cdc5302d5e1a986025ffb98ef0580ff2d4bdc9
parent62573e3ca6b45b0d12b9be8b02da116ce0d91b75 (diff)
Add note that redundant 'CLI interface' is intentional
-rw-r--r--apt-private/private-main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-private/private-main.cc b/apt-private/private-main.cc
index f28f5cb80..39ad07b36 100644
--- a/apt-private/private-main.cc
+++ b/apt-private/private-main.cc
@@ -81,6 +81,8 @@ void CheckIfCalledByScript(int argc, const char *argv[]) /*{{{*/
if(!isatty(STDOUT_FILENO) &&
_config->FindB("Apt::Cmd::Disable-Script-Warning", false) == false)
{
+ // NOTE: CLI interface is redundant on the I/interface, this is
+ // intentional to make it easier to read.
std::cerr << std::endl
<< "WARNING: " << flNotDir(argv[0]) << " "
<< "does not have a stable CLI interface. "