We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mbed config
1 parent 10be76e commit 59b68d2Copy full SHA for 59b68d2
mbed/mbed.py
@@ -3356,9 +3356,10 @@ def main():
3356
very_verbose = pargs.very_verbose
3357
verbose = very_verbose or pargs.verbose
3358
pathtype = Repo.pathtype(cwd_root)
3359
- action('Working path \"%s\" (%s)' % (cwd_root, pathtype))
3360
- if pathtype != "program":
3361
- action('Program path \"%s\"' % Program(cwd_root).path)
+ if not sys.argv[1].lower() in ["config", "cfg", "conf"]: # `mbed config` should be parse-friendly
+ action('Working path \"%s\" (%s)' % (cwd_root, pathtype))
+ if pathtype == "library":
3362
+ action('Program path \"%s\"' % Program(cwd_root).path)
3363
status = pargs.command(pargs)
3364
except ProcessException as e:
3365
error(
0 commit comments