Improper CLI parsing of settings_set
See original GitHub issueCalling ./lbrynet-cli settings_set max_key_fee="zzz"
instead set my download_directory
to max_key_fee="zzz"
kauffj@kauffj-T570:~/Downloads$ ./lbrynet-cli settings_set max_key_fee="zzz"
{
"allowed_origin": "",
"announce_head_blobs_only": false,
"api_host": "localhost",
"api_port": 5279,
"auto_re_reflect": true,
"auto_re_reflect_interval": 3600,
"cache_time": 150,
"data_dir": "/home/kauffj/.local/share/lbry/lbrynet",
"data_rate": 0.0001,
"delete_blobs_on_remove": true,
"dht_node_port": 4444,
"disable_max_key_fee": true,
"download_directory": "max_key_fee=zzz",
"download_timeout": 180,
"is_generous_host": true,
"known_dht_nodes": [
[
"lbrynet1.lbry.io",
4444
],
[
"lbrynet2.lbry.io",
4444
],
[
"lbrynet3.lbry.io",
4444
]
],
"lbryum_wallet_dir": "/home/kauffj/.local/share/lbry/lbryum",
"max_connections_per_stream": 5,
"max_key_fee": {
"amount": null,
"currency": "LBC"
},
"min_info_rate": 0.02,
"min_valuable_hash_rate": 0.05,
"min_valuable_info_rate": 0.05,
"peer_port": 3333,
"peer_search_timeout": 3,
"pointtrader_server": "http://127.0.0.1:2424",
"reflect_uploads": true,
"reflector_port": 5566,
"reflector_servers": [
[
"reflector.lbry.io",
5566
]
],
"run_reflector_server": false,
"sd_download_timeout": 3,
"seek_head_blob_first": true,
"share_usage_data": true,
"use_auth_http": false,
"use_upnp": true,
"wallet": "lbryum"
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Allow to modify the parser settings after initialization · Issue #506
Parser.Settings is readonly and has only Get without Set as shown here . It should be only configured via the the constructor of...
Read more >Tips for using the Azure CLI successfully - Microsoft Learn
Learn tips for using Azure CLI successfully, such as output formats, passing parameter values, and quoting rules for different shells.
Read more >command line arguments given to a C# program are parsed ...
I created a little batch file that would display the command line parameters. With your first command line, I get 1 -p 2...
Read more >OCaml library : Arg
Parsing of command line arguments. This module provides a general mechanism for extracting options and arguments from the command line to the program....
Read more >argparse — Parser for command-line options, arguments and ...
') The ArgumentParser object will hold all the information necessary to parse the command line into Python data types.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Never mind, I found it - it is on the cli side. Looks like a docopt change will fix that part. I think I can handle it from here.
@lyoshenka can we get @rickbatka some guidance on this?