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

View File

@ -79,7 +79,8 @@ function _listProfiles(cli, opts, args, cb) {
}); });
if (!haveCurr) { if (!haveCurr) {
process.stderr.write('\nWarning: There is no current profile. ' 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(); cb();