Passing command line parameters

Hello, I created my application with command line parameters support:

LE_INFO("Start SMS Sample!");
// Register a function to be called if -h or --help appears on the command-line.
le_arg_SetFlagCallback(PrintHelp, "h", "help");

// Perform command-line argument processing.
le_arg_Scan();

how do I cal the application via legato with the command line parameters?

sms.adef:

executables:
{
sms = ( smsClient )
}

processes:
{
run:
{
( sms )
}
}

start: manual

bindings:
{
sms.smsClient.le_sms → modemService.le_sms
}

issue resolved.

in this case the correct way would be:

app runProc sms --exe=sms – --help