Slightly more helpful message when 'triton profile ls' has no results

This commit is contained in:
Trent Mick 2016-03-11 10:24:55 -08:00
parent fb20159053
commit c227e15ae3
1 changed files with 2 additions and 1 deletions

View File

@ -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();