diff --git a/examples/kafka_producer.cpp b/examples/kafka_producer.cpp index 1348149..37e1548 100644 --- a/examples/kafka_producer.cpp +++ b/examples/kafka_producer.cpp @@ -25,13 +25,13 @@ int main(int argc, char* argv[]) { po::options_description options("Options"); options.add_options() - ("help,h", "produce this help message") - ("brokers", po::value(&brokers)->required(), - "the kafka broker list") - ("topic", po::value(&topic_name)->required(), - "the topic in which to write to") - ("partition", po::value(&partition_value), - "the partition to write into (unassigned if not provided)") + ("help,h", "produce this help message") + ("brokers,b", po::value(&brokers)->required(), + "the kafka broker list") + ("topic,t", po::value(&topic_name)->required(), + "the topic in which to write to") + ("partition,p", po::value(&partition_value), + "the partition to write into (unassigned if not provided)") ; po::variables_map vm;