rtk-ai/rtk

bug: rtk wget interprets -O - flag as URL

Open

#716 opened on 2026年3月19日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Rust (48,085 stars) (2,914 forks)batch import
bugeffort-smallfilter-qualitygood first issue

説明

Problem

rtk wget https://example.com -O - fails with:

example.com FAILED: Prepended http:// to '-'

RTK treats - (stdout redirect) as a URL and prepends http:// to it.

Expected

Should pass -O - through to wget as a flag, not interpret it as a second URL.

Workaround

rtk wget https://example.com works (without -O -).

Found during

LLM comprehension testing on 57 RTK commands — this was the only command that failed.

コントリビューターガイド

bug: rtk wget interprets -O - flag as URL · rtk-ai/rtk#716 | Good First Issue