Skip to content

Commit a40aef8

Browse files
committed
Fixed message regarding program root #209
1 parent 8c18223 commit a40aef8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mbed/mbed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ def fromrepo(cls, path=None):
809809
if path is None:
810810
error(
811811
"Could not find mbed program in current path \"%s\".\n"
812-
"You can fix this by calling \"mbed new .\" or \"mbed default root .\" in the root of your program." % os.getcwd())
812+
"You can fix this by calling \"mbed new .\" or \"mbed config root .\" in the root of your program." % os.getcwd())
813813

814814
repo.path = os.path.abspath(path)
815815
repo.name = os.path.basename(repo.path)
@@ -1122,7 +1122,7 @@ def __init__(self, path=None, print_warning=False):
11221122
if self.is_cwd and print_warning:
11231123
warning(
11241124
"Could not find mbed program in current path \"%s\".\n"
1125-
"You can fix this by calling \"mbed new .\" or \"mbed default root .\" in the root of your program." % self.path)
1125+
"You can fix this by calling \"mbed new .\" or \"mbed config root .\" in the root of your program." % self.path)
11261126

11271127
def get_cfg(self, *args, **kwargs):
11281128
return Cfg(self.path).get(*args, **kwargs) or Global().get_cfg(*args, **kwargs)

0 commit comments

Comments
 (0)