diff --git a/API.txt b/API.txt index aabd9c0d4..08ca9198a 100644 --- a/API.txt +++ b/API.txt @@ -6477,7 +6477,7 @@ output: PrimaryKey('value') command: whoami/1 args: 0,1,3 option: Str('version?') -output: Output('arguments', type=[]) +output: Output('arguments', type=[, ]) output: Output('command', type=[]) output: Output('object', type=[]) default: aci/1 diff --git a/ipaserver/plugins/whoami.py b/ipaserver/plugins/whoami.py index 0ec6bb8a7..fa00ebdd4 100644 --- a/ipaserver/plugins/whoami.py +++ b/ipaserver/plugins/whoami.py @@ -87,7 +87,8 @@ class whoami(Command): has_output = ( output.Output('object', unicode, _('Object class name')), output.Output('command', unicode, _('Function to get details')), - output.Output('arguments', list, _('Arguments to details function')), + output.Output('arguments', (list, tuple), + _('Arguments to details function')), ) def execute(self, **options):