[docs][llvm-objcopy] Update --output-target text with right defaults
authorJames Henderson <james.henderson@sony.com>
Mon, 4 May 2020 09:46:41 +0000 (10:46 +0100)
committerJames Henderson <james.henderson@sony.com>
Tue, 5 May 2020 10:22:56 +0000 (11:22 +0100)
The --output-target documentation has slightly rotted, as the default is
no longer purely based on the input file format, but also the value of
--input-target. This patch updates the documentation to make this
explicit.

Reviewed by: MaskRay, alexshap

Differential Revision: https://reviews.llvm.org/D79318

llvm/docs/CommandGuide/llvm-objcopy.rst

index 14e08d7..c5cff2e 100644 (file)
@@ -417,7 +417,8 @@ them.
 
  Write the output as the specified format. See `SUPPORTED FORMATS`_ for a list
  of valid ``<format>`` values. If unspecified, the output format is assumed to
- be the same as the input file's format.
+ be the same as the value specified for :option:`--input-target` or the input
+ file's format if that option is also unspecified.
 
 .. option:: --prefix-alloc-sections <prefix>