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

Support array option value for index-out and header #12

Closed
yjl9903 opened this issue Jul 24, 2023 · 2 comments
Closed

Support array option value for index-out and header #12

yjl9903 opened this issue Jul 24, 2023 · 2 comments

Comments

@yjl9903
Copy link
Contributor

yjl9903 commented Jul 24, 2023

In the aria2 docs, https://aria2.github.io/manual/en/html/aria2c.html#cmdoption-O shows the syntax is "-O, --index-out=<INDEX>=<PATH>" and "You can use this option multiple times."

And https://aria2.github.io/manual/en/html/aria2c.html#xml-rpc-example here also shows header and index-out can use array.

But now we only have a string type:

maria2/src/types/option.ts

Lines 140 to 142 in e87de6c

export type Aria2ClientInputOptions = Partial<
Record<Aria2ClientInputOptionKey, string>
>

@hydrati
Copy link
Owner

hydrati commented Jul 24, 2023

I see.
Maybe fix it later :)

@hydrati
Copy link
Owner

hydrati commented Jul 24, 2023

@hydrati hydrati closed this as not planned Won't fix, can't repro, duplicate, stale Jul 24, 2023
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

No branches or pull requests

2 participants