Implementation of getopt and setopt simplified
Implementation of getopt and setopt simplified

Signed-off-by: Martin Sustrik <4dd6061be1198639e8b05ce4fd5ead7a0dcaa0f4@250bpm.com>

snikulov/nanomsg,wfxiang08/nanomsg,wirebirdlabs/featherweight-nanomsg,pakozm/nanomsg,tempbottle/nanomsg,gdamore/mamomsg,imp/nanomsg,hyperfact/nanomsg,TTimo/nanomsg,thisco-de/nanomsg,kaostao/nanomsg,kaostao/nanomsg,reqshark/nanomsg,nirs/nanomsg,pakozm/nanomsg,hyperfact/nanomsg,ttyangf/nanomsg,wfxiang08/nanomsg,TTimo/nanomsg,hyperfact/nanomsg,simplestbest/nanomsg,snikulov/nanomsg,TTimo/nanomsg,imp/nanomsg,pch957/nanomsg,thisco-de/nanomsg,modulexcite/nanomsg,smithed/nanomsg,krafczyk/nanomsg,krafczyk/nanomsg,simplestbest/nanomsg,kaostao/nanomsg,zerotacg/nanomsg,krafczyk/nanomsg,cosin2008/nanomsg.NET,JackDunaway/featherweight-nanomsg,zerotacg/nanomsg,potatogim/nanomsg,linearregression/nanomsg,smithed/nanomsg,TTimo/nanomsg,nirs/nanomsg,kaostao/nanomsg,smithed/nanomsg,nirs/nanomsg,cosin2008/nanomsg.NET,gdamore/mamomsg,tempbottle/nanomsg,modulexcite/nanomsg,imp/nanomsg,yan97ao/nanomsg,modulexcite/nanomsg,cosin2008/nanomsg.NET,smithed/nanomsg,pch957/nanomsg,featherweight/ftw-kernel-nanomsg,reqshark/nanomsg,ttyangf/nanomsg,yan97ao/nanomsg,linearregression/nanomsg,zerotacg/nanomsg,tempbottle/nanomsg,pch957/nanomsg,potatogim/nanomsg,yan97ao/nanomsg,ttyangf/nanomsg,reqshark/nanomsg,JackDunaway/featherweight-nanomsg,linearregression/nanomsg,JackDunaway/featherweight-nanomsg,wfxiang08/nanomsg,gdamore/mamomsg,wirebirdlabs/featherweight-nanomsg,ttyangf/nanomsg,simplestbest/nanomsg,pakozm/nanomsg,potatogim/nanomsg,wirebirdlabs/featherweight-nanomsg,featherweight/ftw-kernel-nanomsg