parse get-info and get-option command