Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Add docs about default values in config #54

Open
kpp opened this issue Mar 28, 2019 · 0 comments
Open

Add docs about default values in config #54

kpp opened this issue Mar 28, 2019 · 0 comments

Comments

@kpp
Copy link
Member

kpp commented Mar 28, 2019

    settings.set_default("log-type", "Stderr").expect("Can't set default value for `log-type`");
    settings.set_default("motd", "This is tox-rs").expect("Can't set default value for `motd`");
    settings.set_default("lan-discovery", "False").expect("Can't set default value for `lan-discovery`");
    settings.set_default("threads", "1").expect("Can't set default value for `threads`");
    settings.set_default("tcp-connections-limit", "512").expect("Can't set default value for `tcp-connections-limit`");

This should be documented explicitly that these values are equal to default values from args.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant