diff --git a/lib/API.php b/lib/API.php index 6adbef436bb48ae145119a63e4baba530d43f83e..89fb8ceb39bc5bed9dd0b20339b85bb0b79b865e 100644 --- a/lib/API.php +++ b/lib/API.php @@ -1056,7 +1056,7 @@ Click action names for a full description.</p>'; 'required' => FALSE, 'values' => '7 or "all" - all entities; 4 or "idp" - IdPs only; 2 or "sp" - SPs only; 1 or "aa" - standalone AAs only.', 'default' => 7, - 'description' => 'limits the results to a givien entity type', + 'description' => 'limits the results to a givien entity type, also with sp, idp, aa set the output is simplified - best test it out yourself.', ], [ 'arg' => 'lang', @@ -1067,7 +1067,7 @@ Click action names for a full description.</p>'; [ 'arg' => 'opt', 'required' => FALSE, - 'values' => '1 show request innitiator; none or any other - do not show', + 'values' => '1 - show request innitiator; 2 - show as and array [status, name, regauth], none or any other - just the name', 'description' => '' ] ], @@ -1077,6 +1077,13 @@ Click action names for a full description.</p>'; ['opt' => ['e_id' => 'https://sso.umk.pl/idp/shibboleth', 'lang' => 'pl',], 'title' => 'show the Polish name'], + [ 'opt' => ['e_id' => 'https://sso.umk.pl/idp/shibboleth', + 'type' => 'idp'], + 'title' => 'show default name with type set to idp'], + [ 'opt' => ['e_id' => 'https://sso.umk.pl/idp/shibboleth', + 'type' => 'idp', + 'opt' => 2], + 'title' => 'show default name with type set to idp and opt set to 2'], ], ]); if ($this->opts['help'] == 1) {