On 5/13/22 03:19, Lukasz Florczak wrote: > Introduce new function is_duplicate_opt() to check if given option > was already used and prevent setting it again along with an error > message. > > Move parsing above in_initrd() check to be able to detect --offroot > option duplicates. > > Now help option is executed after parsing to prevent executing commands > like: 'mdmon --help --ndlksnlksajndfjksndafasj'. > > Signed-off-by: Lukasz Florczak <lukasz.florczak@xxxxxxxxxxxxxxx> > --- > mdmon.c | 44 +++++++++++++++++++++++++++++++++++--------- Applied! First guineapig patch for the patchworks Song setup (thanks!) Thanks, Jes