]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - systemv/lpstat.c
Merge changes from CUPS 1.5svn-r8849.
[thirdparty/cups.git] / systemv / lpstat.c
index ab16b8fdcaf5cffd0bf8fffd10a8371ac44894ed..603ecdd25b008b1ca66a8f83139e2209daf0ac17 100644 (file)
@@ -3,7 +3,7 @@
  *
  *   "lpstat" command for the Common UNIX Printing System (CUPS).
  *
  *
  *   "lpstat" command for the Common UNIX Printing System (CUPS).
  *
- *   Copyright 2007-2008 by Apple Inc.
+ *   Copyright 2007-2009 by Apple Inc.
  *   Copyright 1997-2006 by Easy Software Products.
  *
  *   These coded instructions, statements, and computer programs are the
  *   Copyright 1997-2006 by Easy Software Products.
  *
  *   These coded instructions, statements, and computer programs are the
@@ -106,7 +106,7 @@ main(int  argc,                             /* I - Number of command-line arguments */
            cupsSetEncryption(HTTP_ENCRYPT_REQUIRED);
 #else
             _cupsLangPrintf(stderr,
            cupsSetEncryption(HTTP_ENCRYPT_REQUIRED);
 #else
             _cupsLangPrintf(stderr,
-                           _("%s: Sorry, no encryption support compiled in!\n"),
+                           _("%s: Sorry, no encryption support compiled in\n"),
                            argv[0]);
 #endif /* HAVE_SSL */
            break;
                            argv[0]);
 #endif /* HAVE_SSL */
            break;
@@ -142,7 +142,7 @@ main(int  argc,                             /* I - Number of command-line arguments */
              {
                _cupsLangPrintf(stderr,
                                _("%s: Error - expected username after "
              {
                _cupsLangPrintf(stderr,
                                _("%s: Error - expected username after "
-                                 "\'-U\' option!\n"),
+                                 "\'-U\' option\n"),
                                argv[0]);
                return (1);
              }
                                argv[0]);
                return (1);
              }
@@ -163,7 +163,7 @@ main(int  argc,                             /* I - Number of command-line arguments */
                _cupsLangPrintf(stderr,
                                _("%s: Error - need \"completed\", "
                                  "\"not-completed\", or \"all\" after "
                _cupsLangPrintf(stderr,
                                _("%s: Error - need \"completed\", "
                                  "\"not-completed\", or \"all\" after "
-                                 "\'-W\' option!\n"),
+                                 "\'-W\' option\n"),
                                argv[0]);
                return (1);
               }
                                argv[0]);
                return (1);
               }
@@ -177,7 +177,7 @@ main(int  argc,                             /* I - Number of command-line arguments */
              _cupsLangPrintf(stderr,
                              _("%s: Error - need \"completed\", "
                                "\"not-completed\", or \"all\" after "
              _cupsLangPrintf(stderr,
                              _("%s: Error - need \"completed\", "
                                "\"not-completed\", or \"all\" after "
-                               "\'-W\' option!\n"),
+                               "\'-W\' option\n"),
                              argv[0]);
              return (1);
            }
                              argv[0]);
              return (1);
            }
@@ -236,7 +236,7 @@ main(int  argc,                             /* I - Number of command-line arguments */
            {
              _cupsLangPrintf(stderr,
                              _("%s: Error - expected destination after "
            {
              _cupsLangPrintf(stderr,
                              _("%s: Error - expected destination after "
-                               "\'-b\' option!\n"),
+                               "\'-b\' option\n"),
                              argv[0]);
 
              return (1);
                              argv[0]);
 
              return (1);
@@ -296,7 +296,7 @@ main(int  argc,                             /* I - Number of command-line arguments */
              {
                _cupsLangPrintf(stderr,
                                _("%s: Error - expected hostname after "
              {
                _cupsLangPrintf(stderr,
                                _("%s: Error - expected hostname after "
-                                 "\'-h\' option!\n"),
+                                 "\'-h\' option\n"),
                                argv[0]);
                return (1);
               }
                                argv[0]);
                return (1);
               }
@@ -456,7 +456,7 @@ main(int  argc,                             /* I - Number of command-line arguments */
 
        default :
            _cupsLangPrintf(stderr,
 
        default :
            _cupsLangPrintf(stderr,
-                           _("%s: Error - unknown option \'%c\'!\n"),
+                           _("%s: Error - unknown option \'%c\'\n"),
                            argv[0], argv[i][1]);
            return (1);
       }
                            argv[0], argv[i][1]);
            return (1);
       }
@@ -508,7 +508,7 @@ check_dest(const char  *command,    /* I  - Command name */
       if ((*dests = cupsGetNamedDest(CUPS_HTTP_DEFAULT, printer, pptr)) == NULL)
       {
         _cupsLangPrintf(stderr,
       if ((*dests = cupsGetNamedDest(CUPS_HTTP_DEFAULT, printer, pptr)) == NULL)
       {
         _cupsLangPrintf(stderr,
-                       _("%s: Invalid destination name in list \"%s\"!\n"),
+                       _("%s: Invalid destination name in list \"%s\"\n"),
                        command, name);
         exit(1);
       }
                        command, name);
         exit(1);
       }
@@ -547,7 +547,7 @@ check_dest(const char  *command,    /* I  - Command name */
       else
       {
         _cupsLangPrintf(stderr,
       else
       {
         _cupsLangPrintf(stderr,
-                       _("%s: Invalid destination name in list \"%s\"!\n"),
+                       _("%s: Invalid destination name in list \"%s\"\n"),
                        command, name);
         exit(1);
       }
                        command, name);
         exit(1);
       }
@@ -562,7 +562,7 @@ check_dest(const char  *command,    /* I  - Command name */
     if (!cupsGetDest(printer, NULL, *num_dests, *dests))
     {
       _cupsLangPrintf(stderr,
     if (!cupsGetDest(printer, NULL, *num_dests, *dests))
     {
       _cupsLangPrintf(stderr,
-                      _("%s: Unknown destination \"%s\"!\n"), command, printer);
+                      _("%s: Unknown destination \"%s\"\n"), command, printer);
       exit(1);
     }
   }
       exit(1);
     }
   }
@@ -1037,7 +1037,7 @@ show_default(cups_dest_t *dest)           /* I - Default destination */
     if (printer)
       _cupsLangPrintf(stdout,
                       _("lpstat: error - %s environment variable names "
     if (printer)
       _cupsLangPrintf(stdout,
                       _("lpstat: error - %s environment variable names "
-                       "non-existent destination \"%s\"!\n"),
+                       "non-existent destination \"%s\"\n"),
                      val, printer);
     else
       _cupsLangPuts(stdout, _("no system default destination\n"));
                      val, printer);
     else
       _cupsLangPuts(stdout, _("no system default destination\n"));