summaryrefslogtreecommitdiffstats
path: root/cmd-show-environment.c
diff options
context:
space:
mode:
authornicm <nicm>2021-08-21 10:22:38 +0000
committernicm <nicm>2021-08-21 10:22:38 +0000
commit08e6360f23284c9e2e521cb466002bdd9350a63d (patch)
treeb70a3e2d2df8ace7f10b64fc5001bceb9fad9c05 /cmd-show-environment.c
parentd371764d022b6c074f967faee815c3117203451e (diff)
Add args parsing callback for some future work, currently unused.
Diffstat (limited to 'cmd-show-environment.c')
-rw-r--r--cmd-show-environment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-show-environment.c b/cmd-show-environment.c
index 7ea1aeec..b52db366 100644
--- a/cmd-show-environment.c
+++ b/cmd-show-environment.c
@@ -38,7 +38,7 @@ const struct cmd_entry cmd_show_environment_entry = {
.name = "show-environment",
.alias = "showenv",
- .args = { "hgst:", 0, 1 },
+ .args = { "hgst:", 0, 1, NULL },
.usage = "[-hgs] " CMD_TARGET_SESSION_USAGE " [name]",
.target = { 't', CMD_FIND_SESSION, CMD_FIND_CANFAIL },