mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:35:06 -05:00
client: fix parsing of -v command option
The sources and sourcestats commands accept -v as an option, but the glibc implementation of getopt() reorders the arguments and parses the option as a command-line option of chronyc. Add '+' to the getopt string to disable this feature. Other getopt() implementations should consider it a new command-line option, which will be handled as an error if present.
This commit is contained in:
Reference in New Issue
Block a user