diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-06-17 18:43:32 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-06-17 18:43:32 +0000 |
| commit | 5e095d66b8974e908bd2c1e17bbcd5e41dfee660 (patch) | |
| tree | 041730a7667373a03c10ed16daa3f7b2ec632026 /openstackclient/identity/v3/trust.py | |
| parent | d4893efabce193c0444d5d05c1ea922d862bfa67 (diff) | |
| parent | 2b0013c5c1afe6d2fee5f93cf6928f6f910048c1 (diff) | |
| download | python-openstackclient-5e095d66b8974e908bd2c1e17bbcd5e41dfee660.tar.gz | |
Merge "Refactor option handling for user|group|project domain scoping"
Diffstat (limited to 'openstackclient/identity/v3/trust.py')
| -rw-r--r-- | openstackclient/identity/v3/trust.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/openstackclient/identity/v3/trust.py b/openstackclient/identity/v3/trust.py index ab6673d2..c8e5c4c7 100644 --- a/openstackclient/identity/v3/trust.py +++ b/openstackclient/identity/v3/trust.py @@ -71,19 +71,15 @@ class CreateTrust(show.ShowOne): help='Sets an expiration date for the trust' ' (format of YYYY-mm-ddTHH:MM:SS)', ) - parser.add_argument( - '--project-domain', - metavar='<domain>', - help='Domain that contains <project> (name or ID)', - ) + common.add_project_domain_option_to_parser(parser) parser.add_argument( '--trustor-domain', - metavar='<domain>', + metavar='<trustor-domain>', help='Domain that contains <trustor> (name or ID)', ) parser.add_argument( '--trustee-domain', - metavar='<domain>', + metavar='<trustee-domain>', help='Domain that contains <trustee> (name or ID)', ) return parser |
