nyx-cmd/nyx_cmd_devicetype.cpp
char *NyxCmdDeviceType::resolveArguments(int argc, char **argv)
{
	char *commandStr = NULL;
	//Check that there are arguments left

	if (optind < argc)
	{
		//Command
		commandStr = argv[optind++];
	}

	return commandStr;
}
/*
* Parses the command line arguments and resolves them to proper variables.
*/
Parses the command line arguments and resolves them to proper variables.
Parses the command line arguments and resolves them to proper variables .
char *NyxCmdDeviceType::resolveArguments(int argc, char **argv)
{
	char *commandStr = NULL;
	if (optind < argc)
	{
		commandStr = argv[optind++];
	}
	return commandStr;
}
char * NyxCmdDeviceType :: resolveArguments ( int argc , char * * argv ) { char * commandStr = NULL ; if ( optind < argc ) { commandStr = argv [ optind ++ ] ; } return commandStr ; }
Parses the command line arguments and resolves them to proper variables.
Parses the command line arguments and resolves them to proper variables .
//Check that there are arguments left //Command