<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8322</bug_id>
          
          <creation_ts>2015-09-17 19:34:56 +0000</creation_ts>
          <short_desc>yocto-bsp create script does not show usage/SYNOPSIS for all supported parameters</short_desc>
          <delta_ts>2016-03-28 15:11:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</reporter>
          <assigned_to name="Humberto Ibarra">humberto.ibarra.lopez</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>54240</commentid>
    <comment_count>0</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2015-09-17 19:34:56 +0000</bug_when>
    <thetext>When creating a BSP layer with the yocto-bsp script, user can generate a coredump (-c) and skip the git check (-s). These parameters are now reflected on the usage/SYNOPSIS.

In fact, this bug is closely related to https://bugzilla.yoctoproject.org/show_bug.cgi?id=8321, but the current one focus on the command&apos;s help.

&gt; yocto-bsp help create | grep SYNOPSIS -A2
SYNOPSIS
    yocto-bsp create &lt;bsp-name&gt; &lt;karch&gt; [-o &lt;DIRNAME&gt; | --outdir &lt;DIRNAME&gt;]
        [-i &lt;JSON PROPERTY FILE&gt; | --infile &lt;JSON PROPERTY_FILE&gt;]

&gt; yocto-bsp create | grep usage -A2
ERROR:root:Wrong number of arguments, exiting

 usage: yocto-bsp create &lt;bsp-name&gt; &lt;karch&gt; [-o &lt;DIRNAME&gt; | --outdir &lt;DIRNAME&gt;]
            [-i &lt;JSON PROPERTY FILE&gt; | --infile &lt;JSON PROPERTY_FILE&gt;]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59817</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-03-08 23:42:44 +0000</bug_when>
    <thetext>Leo, can you please enumerate what you expect as a successful outcome of fixing this bug? I see the problem description but not the expectations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59830</commentid>
    <comment_count>2</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-03-09 14:59:07 +0000</bug_when>
    <thetext>my description is indeed not complete.

Current output with: yocto-bsp help create


NAME
    yocto-bsp create - Create a new Yocto BSP

SYNOPSIS
    yocto-bsp create &lt;bsp-name&gt; &lt;karch&gt; [-o &lt;DIRNAME&gt; | --outdir &lt;DIRNAME&gt;]
        [-i &lt;JSON PROPERTY FILE&gt; | --infile &lt;JSON PROPERTY_FILE&gt;]


Current output with: yocto-bsp create

Usage:

 Create a new Yocto BSP

 usage: yocto-bsp create &lt;bsp-name&gt; &lt;karch&gt; [-o &lt;DIRNAME&gt; | --outdir &lt;DIRNAME&gt;]
            [-i &lt;JSON PROPERTY FILE&gt; | --infile &lt;JSON PROPERTY_FILE&gt;]


Expected output: both usage strings should include the following supported two parameters

  -c, --codedump        dump the generated code to bspgen.out
  -s, --skip-git-check  skip the git connectivity check</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59947</commentid>
    <comment_count>3</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2016-03-14 17:11:21 +0000</bug_when>
    <thetext>Sent patch

http://lists.openembedded.org/pipermail/openembedded-core/2016-March/119002.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>