Make some usages more consistent and add -h to show usage, GitHub issue

4455 from David Mandelberg.
This commit is contained in:
nicm
2025-04-09 06:27:43 +00:00
parent a7991dcbad
commit b526e678b5
6 changed files with 17 additions and 15 deletions

View File

@ -39,7 +39,7 @@ const struct cmd_entry cmd_show_environment_entry = {
.alias = "showenv",
.args = { "hgst:", 0, 1, NULL },
.usage = "[-hgs] " CMD_TARGET_SESSION_USAGE " [name]",
.usage = "[-hgs] " CMD_TARGET_SESSION_USAGE " [variable]",
.target = { 't', CMD_FIND_SESSION, CMD_FIND_CANFAIL },