-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix: update document against target format check and add hints #5361
Conversation
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
fleet.png | ||
update-ecs-loadbalancer.json | ||
``` | ||
|
||
### Example: use `oli` copy file from S3 to R2 | ||
|
||
```text | ||
$ oli cp s3://fleet.png r2://fleet.png | ||
$ oli ls r2:// | ||
$ oli cp s3:/fleet.png r2:/fleet.png |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's more like a bug to me 😭
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I convinced myself this is by design 🙈
@@ -147,7 +147,7 @@ impl Config { | |||
|
|||
let location = Url::parse(s)?; | |||
if location.has_host() { | |||
Err(anyhow!("Host part in a location is not supported."))?; | |||
Err(anyhow!("Host part in a location is not supported. Hint: are you typing `://` instead of `:/`?"))?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems we are parsing the url in wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The behavior is not what I designed, but I agree that we should update the documentation to make it work first. We can discuss the implementation later.
Which issue does this PR close?
Closes #.
Rationale for this change
The document about
oli
's usage is misleadingWhat changes are included in this PR?
Are there any user-facing changes?
Yes, some text