Use member names in cmd_entry definitions so I stop getting confused

about the order.
This commit is contained in:
nicm
2015-12-13 21:53:57 +00:00
parent 899bee0056
commit ecfeee2e82
63 changed files with 716 additions and 449 deletions

View File

@ -34,11 +34,14 @@ void cmd_show_environment_print(struct cmd *, struct cmd_q *,
struct environ_entry *);
const struct cmd_entry cmd_show_environment_entry = {
"show-environment", "showenv",
"gst:", 0, 1,
"[-gs] " CMD_TARGET_SESSION_USAGE " [name]",
CMD_SESSION_T|CMD_CANFAIL,
cmd_show_environment_exec
.name = "show-environment",
.alias = "showenv",
.args = { "gst:", 0, 1 },
.usage = "[-gs] " CMD_TARGET_SESSION_USAGE " [name]",
.flags = CMD_SESSION_T|CMD_CANFAIL,
.exec = cmd_show_environment_exec
};
char *