From ba16f0d9ef6a58f81af8d17f78b3c8a55f796512 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Wed, 2 Mar 2016 22:53:32 -0800 Subject: [PATCH] joyent/node-triton#99 `triton profile set ...` alias for `set-current` Also add 'triton profile set ' completion. --- CHANGES.md | 2 +- lib/do_profile/do_set_current.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 8b4b06b..5b1c0ae 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,7 +2,7 @@ ## 4.6.1 (not yet released) -(nothing yet) +- #99 `triton profile set ...` alias for `set-current` ## 4.6.0 diff --git a/lib/do_profile/do_set_current.js b/lib/do_profile/do_set_current.js index 28eb2c0..6030b6b 100644 --- a/lib/do_profile/do_set_current.js +++ b/lib/do_profile/do_set_current.js @@ -39,5 +39,8 @@ do_set_current.help = [ '`triton -p PROFILE-NAME ...` or the TRITON_PROFILE environment variable.' ].join('\n'); +do_set_current.aliases = ['set']; + +do_set_current.completionArgtypes = ['tritonprofile', 'none']; module.exports = do_set_current;