[PATCH 1/2] wscript: rename bsp_defaults to bspdefaults

Gedare Bloom gedare at rtems.org
Thu Nov 3 15:59:04 UTC 2022


---
 wscript | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/wscript b/wscript
index 4071cc9ef8..a8510edbee 100755
--- a/wscript
+++ b/wscript
@@ -1289,24 +1289,24 @@ def options(ctx):
     rg.add_option(
         "--rtems-bsps",
         metavar="REGEX,...",
-        help="a comma-separated list of Python regular expressions which select the desired BSP variants (e.g. 'sparc/erc32'); it may be used in the bsp_defaults and bsp_list commands",
+        help="a comma-separated list of Python regular expressions which select the desired BSP variants (e.g. 'sparc/erc32'); it may be used in the bspdefaults and bsps commands",
     )
     rg.add_option(
         "--rtems-compiler",
         metavar="COMPILER",
-        help="determines which compiler is used to list the BSP option defaults [default: 'gcc']; it may be used in the bsp_defaults command; valid compilers are: {}".format(
+        help="determines which compiler is used to list the BSP option defaults [default: 'gcc']; it may be used in the bspdefaults command; valid compilers are: {}".format(
             ", ".join(compilers)
         ),
     )
     rg.add_option(
         "--rtems-config",
         metavar="CONFIG.INI,...",
-        help="a comma-separated list of paths to the BSP configuration option files [default: 'config.ini']; default option values can be obtained via the bsp_defaults command; it may be used in the configure command",
+        help="a comma-separated list of paths to the BSP configuration option files [default: 'config.ini']; default option values can be obtained via the bspdefaults command; it may be used in the configure command",
     )
     rg.add_option(
         "--rtems-specs",
         metavar="SPECDIRS,...",
-        help="a comma-separated list of directory paths to build specification items [default: 'spec/build']; it may be used in the bsp_defaults, bsp_list, and configure commands",
+        help="a comma-separated list of directory paths to build specification items [default: 'spec/build']; it may be used in the bspdefaults, bsps, and configure commands",
     )
     rg.add_option(
         "--rtems-tools",
@@ -1316,12 +1316,12 @@ def options(ctx):
     rg.add_option(
         "--rtems-top-group",
         metavar="UID",
-        help="the UID of the top-level group [default: '/grp']; it may be used in the bsp_defaults and configure commands",
+        help="the UID of the top-level group [default: '/grp']; it may be used in the bspdefaults and configure commands",
     )
     rg.add_option(
         "--rtems-version",
         metavar="VALUE",
-        help="sets the RTEMS major version number; it is intended for RTEMS maintainers and may be used in the bsp_defaults and configure commands",
+        help="sets the RTEMS major version number; it is intended for RTEMS maintainers and may be used in the bspdefaults and configure commands",
     )
     rg.add_option(
         "--rtems-option",
@@ -1329,7 +1329,7 @@ def options(ctx):
         action="append",
         dest="rtems_options",
         default=[],
-        help="sets the option identified by KEY to the VALUE in the build specification; it is intended for RTEMS maintainers and may be used in the bsp_defaults and configure commands",
+        help="sets the option identified by KEY to the VALUE in the build specification; it is intended for RTEMS maintainers and may be used in the bspdefaults and configure commands",
     )
 
 
@@ -1653,7 +1653,7 @@ def no_matches_error(ctx, white_list):
         ctx.fatal("The build specification contains no BSPs")
 
 
-def bsp_defaults(ctx):
+def bspdefaults(ctx):
     """get all options with default values for base BSP variants"""
     check_forbidden_options(ctx, ["config", "tools"])
     add_log_filter(ctx.cmd)
@@ -1680,7 +1680,7 @@ def bsp_defaults(ctx):
 # selection and changing the compiler may lead to unpredictable behaviour if
 # these options are not adjusted as well.  Use the --rtems-compiler command line
 # option to get the default values for a particular compiler via
-# ./waf bsp_defaults.
+# ./waf bspdefaults.
 COMPILER = {}""".format(
                         variant, compiler
                     )
-- 
2.34.1



More information about the devel mailing list