Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot turn off ansi colors (xcodeproj show --no-ansi does not work) #540

Closed
vbraun opened this issue Jan 25, 2018 · 0 comments
Closed

Cannot turn off ansi colors (xcodeproj show --no-ansi does not work) #540

vbraun opened this issue Jan 25, 2018 · 0 comments
Assignees

Comments

@vbraun
Copy link

vbraun commented Jan 25, 2018

I always have ansi escape codes in the xcodeproj show output, even when redirecting stdout and using the --no-ansi command line option:

$ xcodeproj --no-ansi show --no-ansi myproject.xcodeproj --no-ansi | grep Targets | od -c
0000000  033   [   3   2   m   T   a   r   g   e   t   s 033   [   0   m
0000020   \n
0000021
$ xcodeproj --version
1.5.4
$ xcodeproj show --help
Usage:

    $ xcodeproj show [PROJECT]

      Shows an overview of a project in a YAML representation.

Options:

    --format=[hash|tree_hash|raw]   YAML output format
    --verbose                       Show more debugging information
    --no-ansi                       Show output without ANSI codes
    --help                          Show help banner of specified command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants