Bug 9282 - Typo in the help output for 'yocto-bsp create'
Summary: Typo in the help output for 'yocto-bsp create'
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium+ minor
Target Milestone: 2.1 M4
Assignee: Humberto Ibarra
QA Contact: Valentin Hangan
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-03-17 00:29 UTC by Scott Rifenbark
Modified: 2016-05-04 11:31 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Rifenbark 2016-03-17 00:29:30 UTC
When you enter 'yocto-bsp create' you get usage information returned to the screen.  The second paragraph and last sentence screws up the word 'parameter'.

"The possible values for the 'karch' paramter can be
 listed via 'yocto-bsp list karch'."
Comment 1 Humberto Ibarra 2016-03-23 17:19:47 UTC
Typo appears not only in usage (yocto-bsp create), but in help also (yocto help create).
Comment 2 Humberto Ibarra 2016-03-28 16:24:29 UTC
Sent patch

https://lists.yoctoproject.org/pipermail/poky/2016-March/010463.html
Comment 3 Valentin Hangan 2016-05-04 11:31:18 UTC
Verified on master with poky commit: f7b520878babbaa7527151f22c031ae160512753

Found patch in master - f4f1d206f4ebafcde18c96c88a1bfc4ab7b0c119

Run: yocto-bsp create and also yocto-bsp help create

OUTPUT:
"""
......................
The value of the 'karch' parameter determines the set of files that
 will be generated for the BSP, along with the specific set of
 'properties' that will be used to fill out the BSP-specific portions
 of the BSP.  The possible values for the 'karch' parameter can be
 listed via 'yocto-bsp list karch'.
......................
"""

Check /scripts/lib/bsp/help.py

"""
The named feature must end
    with .scc and must not contain a feature directory to contain the
    feature (this will be determined automatically), and a feature
    description in double-quotes along with a capabilities string
    (which for the time being can be one of: 'all' or 'board').
"""

Found "parameter" instead "paramter"
Foud "description" instead "decription"

Close this bug as VERIFIED - FIXED