summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp
diff options
context:
space:
mode:
authorHumberto Ibarra <humberto.ibarra.lopez@intel.com>2016-07-04 15:33:34 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-07 13:38:13 +0100
commit4e889c04ba518dac492c193224a790a877f43f40 (patch)
tree66e8e04364a10ef766784f12d3b5a943338e908e /scripts/lib/bsp
parent479d15b32691def9de4f4d792ee077168b956635 (diff)
downloadpoky-4e889c04ba518dac492c193224a790a877f43f40.tar.gz
scripts/lib/bsp/help.py: Changed help of yocto-bsp to match latest syntax
With the changes to migrate from optparse to argparse there was a syntax change that needs an update in the help. This is basically just the change of 'properties' and 'property' from positional arguments to options. This patch makes the required changes. [YOCTO #8321] (From meta-yocto rev: b171379b5ca54d55ea763421794a651e71bbda91) Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/bsp')
-rw-r--r--scripts/lib/bsp/help.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/lib/bsp/help.py b/scripts/lib/bsp/help.py
index 311c5e4189..4f0d7721fe 100644
--- a/scripts/lib/bsp/help.py
+++ b/scripts/lib/bsp/help.py
@@ -183,9 +183,9 @@ DESCRIPTION
183yocto_bsp_list_usage = """ 183yocto_bsp_list_usage = """
184 184
185 usage: yocto-bsp list karch 185 usage: yocto-bsp list karch
186 yocto-bsp list <karch> properties 186 yocto-bsp list <karch> --properties
187 [-o <JSON PROPERTY FILE> | --outfile <JSON PROPERTY_FILE>] 187 [-o <JSON PROPERTY FILE> | --outfile <JSON PROPERTY_FILE>]
188 yocto-bsp list <karch> property <xxx> 188 yocto-bsp list <karch> --property <xxx>
189 [-o <JSON PROPERTY FILE> | --outfile <JSON PROPERTY_FILE>] 189 [-o <JSON PROPERTY FILE> | --outfile <JSON PROPERTY_FILE>]
190 190
191 This command enumerates the complete set of possible values for a 191 This command enumerates the complete set of possible values for a
@@ -213,9 +213,9 @@ NAME
213 213
214SYNOPSIS 214SYNOPSIS
215 yocto-bsp list karch 215 yocto-bsp list karch
216 yocto-bsp list <karch> properties 216 yocto-bsp list <karch> --properties
217 [--o <JSON PROPERTY FILE> | -outfile <JSON PROPERTY_FILE>] 217 [--o <JSON PROPERTY FILE> | -outfile <JSON PROPERTY_FILE>]
218 yocto-bsp list <karch> property <xxx> 218 yocto-bsp list <karch> --property <xxx>
219 [--o <JSON PROPERTY FILE> | -outfile <JSON PROPERTY_FILE>] 219 [--o <JSON PROPERTY FILE> | -outfile <JSON PROPERTY_FILE>]
220 220
221DESCRIPTION 221DESCRIPTION
@@ -246,9 +246,9 @@ DESCRIPTION
246 object will consist of the set of name:value pairs corresponding 246 object will consist of the set of name:value pairs corresponding
247 to the (possibly nested) dictionary of properties defined by the 247 to the (possibly nested) dictionary of properties defined by the
248 input statements used by the BSP. Some example output for the 248 input statements used by the BSP. Some example output for the
249 'list properties' command: 249 'list --properties' command:
250 250
251 $ yocto-bsp list arm properties 251 $ yocto-bsp list arm --properties
252 "touchscreen" : { 252 "touchscreen" : {
253 "msg" : Does your BSP have a touchscreen? (y/N) 253 "msg" : Does your BSP have a touchscreen? (y/N)
254 "default" : n 254 "default" : n
@@ -310,11 +310,11 @@ DESCRIPTION
310 name:value pairs corresponding to the array of property values 310 name:value pairs corresponding to the array of property values
311 associated with the property. 311 associated with the property.
312 312
313 $ yocto-bsp list i386 property xserver_choice 313 $ yocto-bsp list i386 --property xserver_choice
314 ["xserver_vesa", "VESA xserver support"] 314 ["xserver_vesa", "VESA xserver support"]
315 ["xserver_i915", "i915 xserver support"] 315 ["xserver_i915", "i915 xserver support"]
316 316
317 $ yocto-bsp list arm property base_kbranch_linux_yocto_3_0 317 $ yocto-bsp list arm --property base_kbranch_linux_yocto_3_0
318 Getting branches from remote repo git://git.yoctoproject.org/linux-yocto-3.0... 318 Getting branches from remote repo git://git.yoctoproject.org/linux-yocto-3.0...
319 ["yocto/base", "yocto/base"] 319 ["yocto/base", "yocto/base"]
320 ["yocto/eg20t", "yocto/eg20t"] 320 ["yocto/eg20t", "yocto/eg20t"]