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

Language name support mismatch #125

Closed
spenserblack opened this issue Oct 28, 2019 · 0 comments · Fixed by #142
Closed

Language name support mismatch #125

spenserblack opened this issue Oct 28, 2019 · 0 comments · Fixed by #142

Comments

@spenserblack
Copy link
Collaborator

spenserblack commented Oct 28, 2019

This command should display each supported ASCII art.

# Runs `onefetch -a Assembly`, `onefetch -a C`, etc.
onefetch -l | while read line; do echo "$line"; onefetch -a $line; done;

Several of these languages will map to unknown, however, causing the default ASCII art to be displayed.
This is because some listed languages have special characters (C++, C#, Objective-C), yet custom ASCII art cannot take special characters.

# doesn't work
onefetch -a C++

# works
onefetch -a cpp

I think it can be a bit confusing if onefetch -l lists the language as "C++", yet that's an invalid input for onefetch -a <ascii_langage>. They should probably match.

It might also help if the help message showed the possible values for -a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants