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

No output for failed commands #43

Open
freopen opened this issue May 1, 2021 · 2 comments
Open

No output for failed commands #43

freopen opened this issue May 1, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@freopen
Copy link

freopen commented May 1, 2021

> tldr curl
Transfers data from or to a server.
Supports most protocols, including HTTP, FTP, and POP3.
More information: <https://curl.se>.

  Download the contents of an URL to a file
  curl http://example.com -o filename

$ http://example.com -> 
$ filename -> 
? curl  -o  [Y/n] y
exit status 2

> curl -o                                 
curl: option -o: requires parameter
curl: try 'curl --help' for more information

If command failed - I can only know the exit code, sometimes it's very hard to understand what's wrong because of that.

@freopen
Copy link
Author

freopen commented May 1, 2021

Reproducible with v1.0.0-alpha. Not reproducible with v0.6.1.

Also some valid commands don't work too:

> ./tldr pacman   

pacman

Arch Linux package manager utility.
More information: <https://man.archlinux.org/man/pacman.8>.

  Search the package database for a regular expression or keyword
   pacman -Ss "search_pattern"

$ search_pattern -> tldr
? pacman -Ss "tldr" Yes
exit status 1

> pacman -Ss "tldr"
community/tldr 1.2.0-1
    Command line client for tldr, a collection of simplified and
    community-driven man pages.

This one doesn't work with both v1.0.0-alpha and v0.6.1.

@isacikgoz isacikgoz added the bug Something isn't working label Dec 13, 2021
@isacikgoz
Copy link
Owner

It seems to be a regression, noted. Thanks for the feedback @freopen I will be looking into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants