Update sample code to use `getopts::usage` in `print_usage`