]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - ppdc/ppdi.cxx
License change: Apache License, Version 2.0.
[thirdparty/cups.git] / ppdc / ppdi.cxx
index 6abddeb1265fdba9766aaa8a56ba1c6add9d2c1a..e5bb0469aaa82fd8d7eabaad8c872184c5ab82b1 100644 (file)
@@ -1,32 +1,20 @@
 //
-// "$Id$"
+// PPD file import utility for the CUPS PPD Compiler.
 //
-//   PPD file import utility for the CUPS PPD Compiler.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
 //
-//   Copyright 2007-2008 by Apple Inc.
-//   Copyright 2002-2005 by Easy Software Products.
-//
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
-//   which should have been included with this file.  If this file is
-//   file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-//   main()  - Main entry for the PPD import utility.
-//   usage() - Show usage and exit.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
 //
 
 //
 // Include necessary headers...
 //
 
-#include "ppdc.h"
+#include "ppdc-private.h"
 #include <unistd.h>
 #include <sys/stat.h>
 #include <sys/types.h>
-#include <cups/i18n.h>
 
 
 //
@@ -126,16 +114,13 @@ main(int  argc,                           // I - Number of command-line arguments
 static void
 usage(void)
 {
-  _cupsLangPuts(stdout,
-                _("Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]\n"
-                 "Options:\n"
-                 "  -I include-dir\n"
-                 "  -o filename.drv\n"));
+  _cupsLangPuts(stdout, _("Usage: ppdi [options] filename.ppd [ ... "
+                         "filenameN.ppd ]"));
+  _cupsLangPuts(stdout, _("Options:"));
+  _cupsLangPuts(stdout, _("  -I include-dir          Add include directory to "
+                          "search path."));
+  _cupsLangPuts(stdout, _("  -o filename.drv         Set driver information "
+                          "file (otherwise ppdi.drv)."));
 
   exit(1);
 }
-
-
-//
-// End of "$Id$".
-//