- _cupsLangPrintf(stderr, _("%s: Unknown option '%c'!\n"), command, *opt);
-
- if (!strcmp(command, "cupsfilter"))
- _cupsLangPuts(stdout,
- _("Usage: cupsfilter -m mime/type [ options ] filename\n"
- "\n"
- "Options:\n"
- "\n"
- " -c cupsd.conf Set cupsd.conf file to use\n"
- " -j job-id[,N] Filter file N from the specified job (default is file 1)\n"
- " -n copies Set number of copies\n"
- " -o name=value Set option(s)\n"
- " -p filename.ppd Set PPD file\n"
- " -t title Set title\n"));
- else
- _cupsLangPuts(stdout,
- _("Usage: convert [ options ]\n"
- "\n"
- "Options:\n"
- "\n"
- " -f filename Set file to be converted (otherwise stdin)\n"
- " -o filename Set file to be generated (otherwise stdout)\n"
- " -i mime/type Set input MIME type (otherwise auto-typed)\n"
- " -j mime/type Set output MIME type (otherwise application/pdf)\n"
- " -P filename.ppd Set PPD file\n"
- " -a 'name=value ...' Set option(s)\n"
- " -U username Set username for job\n"
- " -J title Set title\n"
- " -c copies Set number of copies\n"
- " -u Remove the PPD file when finished\n"
- " -D Remove the input file when finished\n"));
+ _cupsLangPrintf(stderr, _("%s: Unknown option \"%c\"."), "cupsfilter",
+ *opt);
+
+ _cupsLangPuts(stdout, _("Usage: cupsfilter [ options ] filename"));
+ _cupsLangPuts(stdout, _("Options:"));
+ _cupsLangPuts(stdout, _(" -D Remove the input file "
+ "when finished."));
+ _cupsLangPuts(stdout, _(" -P filename.ppd Set PPD file."));
+ _cupsLangPuts(stdout, _(" -U username Specify username."));
+ _cupsLangPuts(stdout, _(" -c cupsd.conf Set cupsd.conf file to "
+ "use."));
+ _cupsLangPuts(stdout, _(" -d printer Use the named "
+ "printer."));
+ _cupsLangPuts(stdout, _(" -e Use every filter from "
+ "the PPD file."));
+ _cupsLangPuts(stdout, _(" -i mime/type Set input MIME type "
+ "(otherwise auto-typed)."));
+ _cupsLangPuts(stdout, _(" -j job-id[,N] Filter file N from the "
+ "specified job (default is file 1)."));
+ _cupsLangPuts(stdout, _(" -m mime/type Set output MIME type "
+ "(otherwise application/pdf)."));
+ _cupsLangPuts(stdout, _(" -n copies Set number of copies."));
+ _cupsLangPuts(stdout, _(" -o name=value Set option(s)."));
+ _cupsLangPuts(stdout, _(" -p filename.ppd Set PPD file."));
+ _cupsLangPuts(stdout, _(" -t title Set title."));
+ _cupsLangPuts(stdout, _(" -u Remove the PPD file "
+ "when finished."));