Slightly more helpful message when 'triton profile ls' has no results
This commit is contained in:
parent
fb20159053
commit
c227e15ae3
@ -79,7 +79,8 @@ function _listProfiles(cli, opts, args, cb) {
|
||||
});
|
||||
if (!haveCurr) {
|
||||
process.stderr.write('\nWarning: There is no current profile. '
|
||||
+ 'Use "triton profile set-current ..."\nto set one.\n');
|
||||
+ 'Use "triton profile set-current ..."\n'
|
||||
+ 'to set one or "triton profile create" to create one.\n');
|
||||
}
|
||||
}
|
||||
cb();
|
||||
|
Reference in New Issue
Block a user