Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2602

Enhance command line tools

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8.8, 2.0.0
    • Fix Version/s: 3.0.0 PDFBox
    • Component/s: Utilities
    • Labels:
      None

      Description

      The command line tools shall be enhanced to have the same behavior across all tools.

      From the discussion on the dev mailing list

      • add an -h option to print the usage
      • print the usage to System.err and use an exit code of 1 if there was an invalid command line parameter
      • print messages on exceptions to System.err
      • rethrow the exception so java can handle it if it will terminate afterwards anyway
      • use an exit code of 1if rethrowing doesn't make sense

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              msahyoun Maruan Sahyoun
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: