diff --git a/aws_arn/get_parser.py b/aws_arn/get_parser.py index ae90cc8..89ce198 100644 --- a/aws_arn/get_parser.py +++ b/aws_arn/get_parser.py @@ -74,51 +74,45 @@ def get_parser(): group_data = parser.add_argument_group("Data") group_data.add_argument( - "--service", - default=None, - help="Service name", - required=False, - ) - group_data.add_argument( - "--sub-service", + "--partition", default=None, - help="Sub Service name", + help="Partition", required=False, ) group_data.add_argument( - "--arn", + "--service", default=None, - help="ARN", + help="Service name", required=False, ) group_data.add_argument( - "--id", + "--region", default=None, - help="ID", + help="Region", required=False, ) group_data.add_argument( - "--asff-resource", + "--account", default=None, - help="ID", + help="Account", required=False, ) group_data.add_argument( - "--region", + "--sub-service", default=None, - help="Region", + help="Sub Service name", required=False, ) group_data.add_argument( - "--account", + "--id", default=None, - help="Account", + help="ID", required=False, ) group_data.add_argument( - "--partition", + "--asff-resource", default=None, - help="Partition", + help="ID", required=False, ) group_data.add_argument( diff --git a/aws_arn/main.py b/aws_arn/main.py index ea4196f..fc1d5a2 100755 --- a/aws_arn/main.py +++ b/aws_arn/main.py @@ -17,7 +17,6 @@ def main(): id = args.id or "" service = args.service or "" sub_service = args.sub_service or "" - arn = args.arn or "" asff_resource = args.asff_resource or "" region = args.region or "" account = args.account or ""