CLI show: fix handling --raw-values parameter

This commit is contained in:
Benjamin Renard 2020-12-22 10:27:22 +01:00
parent 1428b5df62
commit d39bba45fb

View file

@ -1978,7 +1978,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
$dn = null; $dn = null;
$raw_values = false; $raw_values = false;
foreach ($command_args as $arg) { foreach ($command_args as $arg) {
if ($arg == '-r' || $arg == '--raw-value') if ($arg == '-r' || $arg == '--raw-values')
$raw_values = true; $raw_values = true;
elseif (is_null($objType)) { elseif (is_null($objType)) {
$objType = $arg; $objType = $arg;