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

@ -35,7 +35,7 @@ const struct cmd_entry cmd_set_environment_entry = {
.alias = "setenv",
.args = { "Fhgrt:u", 1, 2, NULL },
.usage = "[-Fhgru] " CMD_TARGET_SESSION_USAGE " name [value]",
.usage = "[-Fhgru] " CMD_TARGET_SESSION_USAGE " variable [value]",
.target = { 't', CMD_FIND_SESSION, CMD_FIND_CANFAIL },