-
Notifications
You must be signed in to change notification settings - Fork 214
Unclear which flags are used by which roles #2183
Copy link
Copy link
Open
Labels
area: cligood first issuehelp wantedtype: documentationimprovements or additions to documentationimprovements or additions to documentation
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 :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: cligood first issuehelp wantedtype: documentationimprovements or additions to documentationimprovements or additions to documentation