Adding --pretty to "aad user list" results in an unhandled exception.
Office 365 CLI version: 2.10.0-beta.9e086a8
o365$ aad user list -o json --pretty
(node:298) UnhandledPromiseRejectionWarning: TypeError: options[key].replace is not a function
at Object.keys.forEach.key (/home/azuser/.npm-global/lib/node_modules/@pnp/office365-cli/dist/o365/aad/commands/user/user-list.js:47:64)
at Array.forEach (<anonymous>)
at AadUserListCommand.getFilter (/home/azuser/.npm-global/lib/node_modules/@pnp/office365-cli/dist/o365/aad/commands/user/user-list.js:45:30)
at AadUserListCommand.commandAction (/home/azuser/.npm-global/lib/node_modules/@pnp/office365-cli/dist/o365/aad/commands/user/user-list.js:25:29)
at Auth_1.default.restoreAuth.then (/home/azuser/.npm-global/lib/node_modules/@pnp/office365-cli/dist/Command.js:61:21)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
(node:298) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:298) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Description
Adding --pretty to "aad user list" results in an unhandled exception.
Office 365 CLI version: 2.10.0-beta.9e086a8