From 24fcc747beeb4bd319bbcb47092787f63d842183 Mon Sep 17 00:00:00 2001 From: nkriegel Date: Thu, 23 Apr 2026 13:57:02 -0400 Subject: [PATCH] Explicitly state requirements for the -a, --account option Using the --account option with only the 12 digit id has no effect. Either the --role option must be specified or the role must be specified a la 123456789123/ALKSMyRoleHere --- src/lib/program.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/program.ts b/src/lib/program.ts index d511c606..6afff6d5 100644 --- a/src/lib/program.ts +++ b/src/lib/program.ts @@ -103,7 +103,7 @@ const sessionsOpenCommand = sessions .description('creates or resumes a session') .option( '-a, --account ', - 'the 12-digit ID or alias for an AWS account' + 'the 12-digit ID (requires use of \'-r, --role\' option or full alias (<12-digit-id>/ALKS) for an AWS account' ) .option( '-r, --role ',