diff --git a/README.md b/README.md index bc0f194..033cb19 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Currently, the only way to install the utility is from source. It requires you t ### Assume a role -`aws-role --role-arn [role] [command]` +`aws-role --role-arn=[role] [command]` This will assume `[role]` and then run `[command]` using that role. diff --git a/cmd/root.go b/cmd/root.go index 4874b51..4b8179a 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -23,7 +23,7 @@ var ( ) var rootCmd = &cobra.Command{ - Use: "aws-role --role-arn [role] [command]", + Use: "aws-role --role-arn=[role] [command]", Short: "Assume a role in AWS and optionally run a command", Long: ` Run a command within the context of assuming a role. This is not persistent, and will only affect the command that is passed in.