Explorar el Código

reword !isatty() warning

Michael Vogt hace 12 años
padre
commit
b7159ec883
Se han modificado 1 ficheros con 3 adiciones y 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)) 
    {
       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;
    }