> -----Original Message----- > From: Ibtisam Tariq <[email protected]> > Sent: Thursday, February 4, 2021 7:34 AM > To: [email protected]; Xia, Chenbo <[email protected]>; > Dumitrescu, Cristian <[email protected]>; Singh, Jasvinder > <[email protected]>; Mcnamara, John > <[email protected]>; Pattan, Reshma <[email protected]>; > Ananyev, Konstantin <[email protected]>; Kovacevic, Marko > <[email protected]> > Cc: [email protected]; Ibtisam Tariq <[email protected]>; Zhang, Roy > Fan <[email protected]> > Subject: [PATCH v4 7/7] examples/vhost_crypto: enhance getopt_long usage > > Instead of using getopt_long return value, strcmp was used to > compare the input parameters with the struct option array. This > patch get rid of all those strcmp by directly binding each longopt > with an int enum. This is to improve readability and consistency in > all examples. > > Bugzilla ID: 238 > Cc: [email protected] > > Reported-by: David Marchand <[email protected]> > Signed-off-by: Ibtisam Tariq <[email protected]>
Acked-by: Fan Zhang <[email protected]> Thank you very much!

