area: cligood first issuehelp wantedtype: documentation
Repository metrics
- Stars
- (583 stars)
- PR merge metrics
- (PR metrics pending)
Description
Describe the bug
Currently, it isn't easy to determine which flags (e.g. -maxTicketEV) are used by which role (e.g. -broadcaster or -orchestrator)
To Reproduce
- Run
./livepeer --help - See a number of flags, with descriptions of how to use them e.g.:
-maxTicketEV string
The maximum acceptable expected value for PM tickets (default "3000000000000")
- Be confused about whether this flag is to be used with
-broadcasterrole or-orchestratorrole. - Try running
./livepeerwith the-orchestratorflag and also-maxTicketEV - Discover that setting the
-maxTicketEVin this case is ignored - Be confused about why it didn't throw an error saying "you can't use
-maxTicketEVwith-orchestrator" (or something similar)
Expected behavior
I expect it to be made clear (e.g. in --help) which flags can influence the operations of which role.
Also, if I use a flag with a role where the role ignores the flag, I at least expect to be warned about it :)