fixed error in parse_options

normally i wouldnt submit a pull request with just a single commit but this one was causing cnchi to hang if -p or -c was given at launch