Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't allow directly parsing Listeners from strings
Clap parses the arguments twice and that causes issues with systemd activation file descriptors if the parsing logic is not pure. The solution is to allow parsing Bindings and make the conversion to Listeners an explicit action that happens only once. See: clap-rs/clap#3589 Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
- Loading branch information
Showing
2 changed files
with
18 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters