Skip to content

Commit

Permalink
Map -T for --target-account
Browse files Browse the repository at this point in the history
  • Loading branch information
Rindrics committed Jun 14, 2024
1 parent 7a4949f commit 0eb8cb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ $ aws-cost --help
-r, --region [region] AWS region (default: us-east-1)
-a, --role-arn [arn] AWS role ARN to assume

--target-account [id] Account ID to see cost
-T, --target-account [id] Account ID to see cost
-p, --profile [profile] AWS profile to use (default: "default")

-j, --json Get the output as JSON
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ program
.option('-t, --session-Token [key]', 'AWS session Token')
.option('-r, --region [region]', 'AWS region', 'us-east-1')
.option('-a, --role-arn [arn]', 'ARN of IAM role')
.option('--target-account [id]', 'Account ID to see cost')
.option('-T, --target-account [id]', 'Account ID to see cost')
// Output variants
.option('-j, --json', 'Get the output as JSON')
.option('-u, --summary', 'Get only the summary without service breakdown')
Expand Down

0 comments on commit 0eb8cb7

Please sign in to comment.