Piotr Zygielo created PDFBOX-5964:
-------------------------------------

             Summary: help <command> does not provide details about a specific 
subcommand
                 Key: PDFBOX-5964
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5964
             Project: PDFBox
          Issue Type: Bug
    Affects Versions: 3.0.4 PDFBox, 3.0.3 PDFBox, 3.0.2 PDFBox, 3.0.1 PDFBox
            Reporter: Piotr Zygielo


Previously:
{code:java}
$ java -jar pdfbox-app-3.0.0.jar help fromtext
Creates a PDF document from text
Usage: pdfbox texttopdf [-hV] [-landscape] [-charset=<charset>]
                        [-fontSize=<fontSize>] -i=<infile> -o=<outfile>
                        [-pageSize=<pageSize>] [-standardFont=<standardFont>]
                        [-ttf=<ttf file>]
      -charset=<charset>     the charset to use.
                             (default: UTF-8)
      -fontSize=<fontSize>   the size of the font to use (default: 10
  -h, --help                 Show this help message and exit.
  -i, --input=<infile>       the text file to convert
      -landscape             set orientation to landscape
  -o, --output=<outfile>     the generated PDF file
      -pageSize=<pageSize>   the page size to use.
                             Candidates: LETTER, LEGAL, A0, A1, A2, A3, A4, A5,
                               A6 (default: LETTER)
      -standardFont=<standardFont>
                             the font to use for the text. Either this or -ttf
                               should be specified but not both.
                             Candidates: Times-Roman, Times-Bold, Times-Italic,
                               Times-BoldItalic, Helvetica, Helvetica-Bold,
                               Helvetica-Oblique, Helvetica-BoldOblique,
                               Courier, Courier-Bold, Courier-Oblique,
                               Courier-BoldOblique, Symbol, ZapfDingbats
                               (default: Helvetica)
      -ttf=<ttf file>        the TTF font to use for the text. Either this or
                               -standardFont should be specified but not both.
  -V, --version              Print version information and exit. {code}
since 3.0.1:
{code:java}
$ java -jar pdfbox-app-3.0.1.jar help fromtext
Usage: pdfbox [COMMAND] [OPTIONS]
Commands:
  debug          Analyzes and inspects the internal structure of a PDF document
  decrypt        Decrypts a PDF document
  encrypt        Encrypts a PDF document
  decode         Writes a PDF document with all streams decoded
  export:images  Extracts the images from a PDF document
  export:xmp     Extracts the xmp stream from a PDF document
  export:text    Extracts the text from a PDF document
  export:fdf     Exports AcroForm form data to FDF
  export:xfdf    Exports AcroForm form data to XFDF
  import:fdf     Imports AcroForm form data from FDF
  import:xfdf    Imports AcroForm form data from XFDF
  overlay        Adds an overlay to a PDF document
  print          Prints a PDF document
  render         Converts a PDF document to image(s)
  merge          Merges multiple PDF documents into one
  split          Splits a PDF document into number of new documents
  fromimage      Creates a PDF document from images
  fromtext       Creates a PDF document from text
  version        Gets the version of PDFBox
  help           Display help information about the specified command.
See 'pdfbox help <command>' to read about a specific subcommand {code}
Seems to be caused by 
[https://github.com/apache/pdfbox/commit/1a35b1b1d32904ca5e2ccd6d2c85835125e5ade2]
 (PDFBOX-5670)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to