Explorar o código

reword !isatty() warning

Michael Vogt %!s(int64=12) %!d(string=hai) anos
pai
achega
b7159ec883
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  1. 3 4
      cmdline/apt.cc

+ 3 - 4
cmdline/apt.cc

@@ -117,10 +117,9 @@ int main(int argc, const char *argv[])					/*{{{*/
    if(!isatty(1)) 
    if(!isatty(1)) 
    {
    {
       std::cerr << std::endl
       std::cerr << std::endl
-                << "WARNING WARNING "
-                << argv[0]
-                << " is *NOT* intended for scripts "
-                << "use at your own peril^Wrisk"
+                << "WARNING: " << argv[0] << " "
+                << "does not have a stable CLI interface yet. "
+                << "Use with caution in scripts."
                 << std::endl
                 << std::endl
                 << std::endl;
                 << std::endl;
    }
    }