Skip to contentSkip to conversation

ref-manual: remove mention of obsolete devtool "--any-recipe" option

PATCH In review Robert P. J. Day 2 participants 2 messages Sep 6, 2021 – Sep 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: remove mention of obsolete devtool "--any-recipe" option

Running "devtool edit-recipe -h" produces, in part, the output:

--any-recipe, -a Does nothing (exists for backwards-compatibility)

so it seems of little value to continue referring to it.

---

documentation/ref-manual/devtool-reference.rst +1 -4
index 1862c481d..6bbbd1a91 100644
@@ -284,10 +284,7 @@ is identified using the ``EDITOR`` variable, on the specified recipe.
 When you use the ``devtool edit-recipe`` command, you must supply the
 root name of the recipe (i.e. no version, paths, or extensions). Also,
 the recipe file itself must reside in the workspace as a result of the
-``devtool add`` or ``devtool upgrade`` commands. However, you can
-override that requirement by using the "-a" or "--any-recipe" option.
-Using either of these options allows you to edit any recipe regardless
-of its location.
+``devtool add`` or ``devtool upgrade`` commands.
 
 .. _devtool-updating-a-recipe:
 
Signature · 6 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
Reviewed-by on v1 1/1
#1 lore raw

Hi Robert,

Quoted 16 lines · Robert P. J. Day

Running "devtool edit-recipe -h" produces, in part, the output:

--any-recipe, -a Does nothing (exists for backwards-compatibility)

so it seems of little value to continue referring to it.

---

documentation/ref-manual/devtool-reference.rst +0 -0
index 1862c481d..6bbbd1a91 100644
@@ -284,10 +284,7 @@ is identified using the ``EDITOR`` variable, on the specified recipe.
 When you use the ``devtool edit-recipe`` command, you must supply the

documentation/ref-manual/devtool-reference.rst is identified using the ``EDITOR`` variable, on the specified recipe. · line 290

Quoted 10 lines
documentation/ref-manual/devtool-reference.rst +1 -4
 root name of the recipe (i.e. no version, paths, or extensions). Also,
 the recipe file itself must reside in the workspace as a result of the
-``devtool add`` or ``devtool upgrade`` commands. However, you can
-override that requirement by using the "-a" or "--any-recipe" option.
-Using either of these options allows you to edit any recipe regardless
-of its location.
+``devtool add`` or ``devtool upgrade`` commands.
 
 .. _devtool-updating-a-recipe:
 

Thanks for the patch!

and merged into "master-next".

Cheers,
Michael.

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