change usage for option handling
add assert_command_output helper