Fix log action order in generaloption

so, how would `--loglevel=debug` be different from using `--debug` then?