Skip to content

Azure CLI commands return character '[0m' at the end of the command output #9903

@jlausuch

Description

@jlausuch

az feedback auto-generates most of the information requested below, as of CLI version 2.0.68

Describe the bug
I get the char sequence '[0m' at the end of the command output.

To Reproduce
any az command.
It doesn't happen if the command is pipped or redirected to a file.

Expected behavior
It should not print that character.

Environment summary

 sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
 zypper addrepo --name "Azure CLI" --check https://packages.microsoft.com/yumrepos/azure-cli azure-cli
 zypper in --from azure-cli -y azure-cli

Additional context

$ az -v

azure-cli                         2.0.68

command-modules-nspkg               2.0.3
core                              2.0.68
nspkg                              3.0.4
telemetry                          1.0.3

Python location '/usr/bin/python2'
Extensions directory '/root/.azure/cliextensions'

Python (Linux) 2.7.14 (default, Nov 30 2017, 11:33:17) [GCC]

Legal docs and information: aka.ms/AzureCliLegal


Your CLI is up-to-date.

Metadata

Metadata

Assignees

Labels

CoreCLI core infrastructureOutput

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions