From c227e15ae3f69f1bd6c3d6566aba37b4790a1f29 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Fri, 11 Mar 2016 10:24:55 -0800 Subject: [PATCH] Slightly more helpful message when 'triton profile ls' has no results --- lib/do_profile/do_list.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/do_profile/do_list.js b/lib/do_profile/do_list.js index c38e2de..afdfd39 100644 --- a/lib/do_profile/do_list.js +++ b/lib/do_profile/do_list.js @@ -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();