@@ -50,21 +50,21 @@ def main():
50
50
type = argparse_many (lambda x : x ),
51
51
default = [])
52
52
subparsers = parser .add_subparsers ()
53
- import_cmd = subparsers .add_parser ("import" )
53
+ import_cmd = subparsers .add_parser ("import" , help = "import of examples in config file" )
54
54
import_cmd .set_defaults (fn = do_import )
55
- clone_cmd = subparsers .add_parser ("clone" )
55
+ clone_cmd = subparsers .add_parser ("clone" , help = "clone examples in config file" )
56
56
clone_cmd .set_defaults (fn = do_clone )
57
57
list_cmd = subparsers .add_parser ("list" , help = "list examples in config file in a table" )
58
58
list_cmd .set_defaults (fn = do_list )
59
59
symlink_cmd = subparsers .add_parser ("symlink" , help = "create symbolic link to given mbed-os PATH" )
60
60
symlink_cmd .add_argument ("PATH" , help = " path of mbed-os to be symlinked" )
61
61
symlink_cmd .set_defaults (fn = do_symlink )
62
- deploy_cmd = subparsers .add_parser ("deploy" , help = "mbed deploy" )
62
+ deploy_cmd = subparsers .add_parser ("deploy" , help = "mbed deploy for examples in config file " )
63
63
deploy_cmd .set_defaults (fn = do_deploy )
64
- version_cmd = subparsers .add_parser ("tag " )
65
- version_cmd .add_argument ("tag" )
66
- version_cmd .set_defaults (fn = do_versionning )
67
- compile_cmd = subparsers .add_parser ("compile" )
64
+ version_cmd = subparsers .add_parser ("update" , help = "update mbed-os to sepcific tags " )
65
+ version_cmd .add_argument ("TAG" , help = " tag of mbed-os " )
66
+ version_cmd .set_defaults (fn = do_update )
67
+ compile_cmd = subparsers .add_parser ("compile" , help = "compile of examples" )
68
68
compile_cmd .set_defaults (fn = do_compile ),
69
69
compile_cmd .add_argument (
70
70
"toolchains" , nargs = "*" , default = SUPPORTED_TOOLCHAINS ,
@@ -96,7 +96,7 @@ def main():
96
96
default = False ,
97
97
help = "Verbose diagnostic output" )
98
98
99
- export_cmd = subparsers .add_parser ("export" )
99
+ export_cmd = subparsers .add_parser ("export" , help = "export of examples" )
100
100
export_cmd .set_defaults (fn = do_export ),
101
101
export_cmd .add_argument (
102
102
"ide" , nargs = "*" , default = SUPPORTED_IDES ,
@@ -155,7 +155,7 @@ def do_compile(args, config, examples):
155
155
print ("Number of failures = %d" % failures )
156
156
return failures
157
157
158
- def do_versionning (args , config , examples ):
158
+ def do_update (args , config , examples ):
159
159
""" Test update the mbed-os to the version specified by the tag """
160
160
return lib .update_mbedos_version (config , args .tag , examples )
161
161
0 commit comments