Skip to content

[Feature Request] Add verbose/debug flag for better troubleshooting #267

Open
@zaremb

Description

@zaremb

I am experiencing issues with tldr when trying to fetch the page for tar. There is no error message other than "Page not found.":

❯ tldr tar
✔ Page not found. Updating cache...
✔ Creating index...
Page not found.

This issue seems to be related to my complex network setup (company laptop with custom certificates, running on WSL). I suspect there might be a networking issue blocking the request, but I have no way of investigating further due to the lack of detailed output or logs. I tried TLDR_ALLOW_INSECURE=1

Suggestion:
Add a --verbose flag to show detailed output of what tldr is doing.
Alternatively, add debug flags to provide more granular logging.
If there is already a debug flag, it would be helpful to mention in in README.

The issue is likely on my side, but without detailed logs, I cannot progress.
Thank you for your assistance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions