File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 144
144
# a list of public SCM service (github/butbucket) which support http, https and ssh schemas
145
145
public_scm_services = ['bitbucket.org' , 'github.com' , 'gitlab.com' ]
146
146
147
+ # commands that don't get the current work path shown
148
+ skip_workpath_commands = ["config" , "cfg" , "conf" ]
147
149
148
150
# verbose logging
149
151
verbose = False
@@ -3367,7 +3369,7 @@ def main():
3367
3369
very_verbose = pargs .very_verbose
3368
3370
verbose = very_verbose or pargs .verbose
3369
3371
pathtype = Repo .pathtype (cwd_root )
3370
- if not sys .argv [1 ].lower () in [ "config" , "cfg" , "conf" ]: # `mbed config` should be parse-friendly
3372
+ if not sys .argv [1 ].lower () in skip_workpath_commands :
3371
3373
action ('Working path \" %s\" (%s)' % (cwd_root , pathtype ))
3372
3374
if pathtype == "library" :
3373
3375
action ('Program path \" %s\" ' % Program (cwd_root ).path )
You can’t perform that action at this time.
0 commit comments