Fix usage text
The map command outputs PPM, not PBM. Also consistently use full stops.
This commit is contained in:
parent
bd5351e0ba
commit
215d95f863
1 changed files with 8 additions and 8 deletions
16
mtsread.c
16
mtsread.c
|
@ -420,21 +420,21 @@ struct {
|
||||||
const char *usage;
|
const char *usage;
|
||||||
} commands[] = {
|
} commands[] = {
|
||||||
{ "header", 0, NULL, cmd_header, false,
|
{ "header", 0, NULL, cmd_header, false,
|
||||||
"Print header (including name/ID map)" },
|
"Print header (including name/ID map)." },
|
||||||
{ "dumpall", 0, NULL, cmd_dumpall, true,
|
{ "dumpall", 0, NULL, cmd_dumpall, true,
|
||||||
"Dump param0-2 for all nodes" },
|
"Dump param0-2 for all nodes." },
|
||||||
{ "dump", 3, "<x> <y> <z>", cmd_dump, true,
|
{ "dump", 3, "<x> <y> <z>", cmd_dump, true,
|
||||||
"Dump param0-2 for a single node" },
|
"Dump param0-2 for a single node." },
|
||||||
{ "list", 1, "<name>", cmd_list, true,
|
{ "list", 1, "<name>", cmd_list, true,
|
||||||
"List all nodes of a certain type by name" },
|
"List all nodes of a certain type by name." },
|
||||||
{ "countall", 0, NULL, cmd_countall, true,
|
{ "countall", 0, NULL, cmd_countall, true,
|
||||||
"Count all nodes by name" },
|
"Count all nodes by name." },
|
||||||
{ "count", 1, "<name>", cmd_count, true,
|
{ "count", 1, "<name>", cmd_count, true,
|
||||||
"Count all nodes of a certain type by name" },
|
"Count all nodes of a certain type by name." },
|
||||||
{ "map", 1, "<depth> [<format>]", cmd_map, true,
|
{ "map", 1, "<depth> [<format>]", cmd_map, true,
|
||||||
"Make a PBM map of all nodes in a single layer.\n"
|
"Make a PPM map of all nodes in a single layer.\n"
|
||||||
"Takes name->colour map from stdin.\n"
|
"Takes name->colour map from stdin.\n"
|
||||||
"<format> may be ppm-text or ppm-binary, defaults to ppm-text" },
|
"<format> may be ppm-text or ppm-binary, defaults to ppm-text." },
|
||||||
};
|
};
|
||||||
|
|
||||||
void usage(int status) {
|
void usage(int status) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue