Skip to contentSkip to conversation

docs: Fix a few incorrect option specifications.

PATCH Applied Drew Moseley 2 participants 2 messages Apr 30, 2021 – May 3, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: Fix a few incorrect option specifications.

From: Drew Moseley <[email protected]>

---
 documentation/ref-manual/migration-2.2.rst | 2 +-
 documentation/sdk-manual/extensible.rst    | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
documentation/ref-manual/migration-2.2.rst +1 -1
index a9d3cde7b7..a60ce8d52b 100644
@@ -422,7 +422,7 @@ The following miscellaneous changes have occurred:
    :term:`SRCREV` by default when fetching from a Git
    repository. You can override this in either case to use
    ``${``\ :term:`AUTOREV`\ ``}`` instead by using the
-   ``-a`` or ``DASHDASHautorev`` command-line option
+   ``-a`` or ``--autorev`` command-line option
 
 -  ``distcc``: GTK+ UI is now disabled by default.
 
documentation/sdk-manual/extensible.rst +3 -3
index 04bafaed9e..81727e6f28 100644
@@ -953,7 +953,7 @@ following methods when you run ``devtool add``:
    Specifying the name like this produces a recipe that only builds for
    the build host.
 
--  Specify the "DASHDASHalso-native" option with the ``devtool add``
+-  Specify the "--also-native" option with the ``devtool add``
    command. Specifying this option creates a recipe file that still
    builds for the target but also creates a variant with a "-native"
    suffix that builds for the build host.
@@ -964,7 +964,7 @@ following methods when you run ``devtool add``:
    that builds code for the target, you can typically accomplish this by
    building the native and target parts separately rather than within
    the same compilation process. Realize though that with the
-   "DASHDASHalso-native" option, you can add the tool using just one
+   "--also-native" option, you can add the tool using just one
    recipe file.
 
 Adding Node.js Modules
@@ -1100,7 +1100,7 @@ arguments listed in the previous paragraph. The command determines the
 exact options being passed, and shows them to you along with any custom
 arguments specified through ``EXTRA_OECONF`` or
 ``PACKAGECONFIG_CONFARGS``. If applicable, the command also shows you
-the output of the configure script's "DASHDASHhelp" option as a
+the output of the configure script's "--help" option as a
 reference.
 
 Sharing Files Between Recipes
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1 Applied
#1 lore raw

Hi Drew,

Good catch. Thanks for the patch!

Quoted 44 lines · Drew Moseley

From: Drew Moseley <[email protected]>

---
 documentation/ref-manual/migration-2.2.rst | 2 +-
 documentation/sdk-manual/extensible.rst    | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
documentation/ref-manual/migration-2.2.rst +1 -1
index a9d3cde7b7..a60ce8d52b 100644
@@ -422,7 +422,7 @@ The following miscellaneous changes have occurred:
    :term:`SRCREV` by default when fetching from a Git
    repository. You can override this in either case to use
    ``${``\ :term:`AUTOREV`\ ``}`` instead by using the
-   ``-a`` or ``DASHDASHautorev`` command-line option
+   ``-a`` or ``--autorev`` command-line option
 
 -  ``distcc``: GTK+ UI is now disabled by default.
 
documentation/sdk-manual/extensible.rst +2 -2
index 04bafaed9e..81727e6f28 100644
@@ -953,7 +953,7 @@ following methods when you run ``devtool add``:
    Specifying the name like this produces a recipe that only builds for
    the build host.
 
--  Specify the "DASHDASHalso-native" option with the ``devtool add``
+-  Specify the "--also-native" option with the ``devtool add``
    command. Specifying this option creates a recipe file that still
    builds for the target but also creates a variant with a "-native"
    suffix that builds for the build host.
@@ -964,7 +964,7 @@ following methods when you run ``devtool add``:
    that builds code for the target, you can typically accomplish this by
    building the native and target parts separately rather than within
    the same compilation process. Realize though that with the
-   "DASHDASHalso-native" option, you can add the tool using just one
+   "--also-native" option, you can add the tool using just one
    recipe file.
 
 Adding Node.js Modules

documentation/sdk-manual/extensible.rst arguments listed in the previous paragraph. The command determines the · line 1106

Quoted 8 lines
documentation/sdk-manual/extensible.rst +1 -1
@@ -1100,7 +1100,7 @@ arguments listed in the previous paragraph. The command determines the
 exact options being passed, and shows them to you along with any custom
 arguments specified through ``EXTRA_OECONF`` or
 ``PACKAGECONFIG_CONFARGS``. If applicable, the command also shows you
-the output of the configure script's "DASHDASHhelp" option as a
+the output of the configure script's "--help" option as a
 reference.
 
 Sharing Files Between Recipes

Merged into the "master-next" branch of "yocto-docs".

Thanks again!

Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com