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 1370900 commit 0e6c9dbCopy full SHA for 0e6c9db
mbed/mbed.py
@@ -3367,9 +3367,10 @@ def main():
3367
very_verbose = pargs.very_verbose
3368
verbose = very_verbose or pargs.verbose
3369
pathtype = Repo.pathtype(cwd_root)
3370
- action('Working path \"%s\" (%s)' % (cwd_root, pathtype))
3371
- if pathtype != "program":
3372
- 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":
3373
+ action('Program path \"%s\"' % Program(cwd_root).path)
3374
status = pargs.command(pargs)
3375
except ProcessException as e:
3376
error(
0 commit comments