Skip to content

Commit f204ca2

Browse files
committed
Improve ocation and program awareness by adding information where the user is operating
1 parent e993263 commit f204ca2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mbed/mbed.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3344,7 +3344,10 @@ def main():
33443344
try:
33453345
very_verbose = pargs.very_verbose
33463346
verbose = very_verbose or pargs.verbose
3347-
info('Working path \"%s\" (%s)' % (getcwd(), Repo.pathtype(cwd_root)))
3347+
pathtype = Repo.pathtype(cwd_root)
3348+
action('Working path \"%s\" (%s)' % (cwd_root, pathtype))
3349+
if pathtype != "program":
3350+
action('Program path \"%s\"' % Program(cwd_root).path)
33483351
status = pargs.command(pargs)
33493352
except ProcessException as e:
33503353
error(

0 commit comments

Comments
 (0)