We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb930a4 + b7aaa58 commit ac68eb5Copy full SHA for ac68eb5
aws
@@ -1100,7 +1100,7 @@ $home = get_home_directory();
1100
# Figure out $cmd. If the program is run as other than "aws", then $0 contains
1101
# the command. This way, you can link aws to the command names (with or without
1102
# ec2 or s3 prefix) and not have to type "aws".
1103
-unshift @ARGV, $1 if $0 =~ /^(?:.*[\\\/])?(?:(?:ec2|pa|s3|sqs|sdb|rds)-?)?(.+?)(?:\..+)?$/ && $1 !~ /^l?aws/;
+unshift @ARGV, $1 if $0 =~ /^(?:.*[\\\/])?(?:(?:ec2|pa|s3|sqs|sdb|rds)-?)?(.+?)(?:\..+)?$/ && $1 !~ /^\w*aws/;
1104
1105
1106
# parse meta-parameters, leaving parameters in @argv
0 commit comments