Fix logical error on -c arg