summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-09-06 10:57:32 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-06 10:35:04 +0100
commit14c045c6a20993d389b91ae2459d811a1430a7b2 (patch)
treed08cb94683e85d604c14c4eec0ca9c8457d3c616 /lib
parentf7de3f8b5f628dee043fe783148812914ab20813 (diff)
downloadbitbake-contrib-14c045c6a20993d389b91ae2459d811a1430a7b2.tar.gz
fetch2/npm: clarify comment
The correct name of the parameter is "version" not "ver" so ensure we aren't misleading the user by giving the latter in an example. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/fetch2/npm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/npm.py b/lib/bb/fetch2/npm.py
index 08d687652..43929ce9a 100644
--- a/lib/bb/fetch2/npm.py
+++ b/lib/bb/fetch2/npm.py
@@ -13,7 +13,7 @@ Usage in the recipe:
- name
- version
- npm://registry.npmjs.org/${PN}/-/${PN}-${PV}.tgz would become npm://registry.npmjs.org;name=${PN};ver=${PV}
+ npm://registry.npmjs.org/${PN}/-/${PN}-${PV}.tgz would become npm://registry.npmjs.org;name=${PN};version=${PV}
The fetcher all triggers off the existence of ud.localpath. If that exists and has the ".done" stamp, its assumed the fetch is good/done
"""