command options implementation finished