浏览代码

pdbt: fix wrong help output and comment, reported from Mikko Lehto, mikko dot lehto at setera dot fi

Henning Westerholt 15 年之前
父节点
当前提交
1cf291af15
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      utils/pdbt/pdbt.c

+ 2 - 2
utils/pdbt/pdbt.c

@@ -66,7 +66,7 @@ void print_usage(char *program) {
 	LINFO("    -s <file>: Specifies the csv list.\n");
 	LINFO("               Use '-' as filename to read from stdin.\n");
 	LINFO("               Line format: <number prefix>;<carrier id>\n");
-	LINFO("               Format of carrier id: D[0-9][0-9][0-9]\n");
+	LINFO("               Format of carrier id: [0-9][0-9][0-9]\n");
 	LINFO("    -m <file>: Specifies the mmap image.\n");
 	LINFO("    -f <file>: Specifies the query file.\n");
 	LINFO("               Use '-' as filename to read from stdin.\n");
@@ -159,7 +159,7 @@ int file_query(char *filename, query_func_t query_func, void *data) {
 /*
  Read a csv list from the given file and build a dtree structure.
  Format of lines in csv file: "<number prefix>;<carrier id>".
- Format of carrier id: "D[0-9][0-9][0-9]".
+ Format of carrier id: "[0-9][0-9][0-9]".
  Returns the number of lines imported or -1 on error.
 */
 int import_csv(struct dt_node_t *root, char *filename) {