select case on cli arguments