summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-set-environment.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2021-08-21 10:22:40 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2021-08-21 10:22:40 +0000
commit00c82e46454adf0fbd43f781f11fcddddd6ae2b4 (patch)
treecc69ce8a253190400582635fab6b59bb36fe1708 /usr.bin/tmux/cmd-set-environment.c
parent74ec25b81c3a3e829dff01a606be13a1a2e1daf0 (diff)
Add args parsing callback for some future work, currently unused.
Diffstat (limited to 'usr.bin/tmux/cmd-set-environment.c')
-rw-r--r--usr.bin/tmux/cmd-set-environment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-set-environment.c b/usr.bin/tmux/cmd-set-environment.c
index b039e7bbc71..e7af4e0374b 100644
--- a/usr.bin/tmux/cmd-set-environment.c
+++ b/usr.bin/tmux/cmd-set-environment.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-set-environment.c,v 1.27 2021/08/20 19:50:17 nicm Exp $ */
+/* $OpenBSD: cmd-set-environment.c,v 1.28 2021/08/21 10:22:39 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -34,7 +34,7 @@ const struct cmd_entry cmd_set_environment_entry = {
.name = "set-environment",
.alias = "setenv",
- .args = { "Fhgrt:u", 1, 2 },
+ .args = { "Fhgrt:u", 1, 2, NULL },
.usage = "[-Fhgru] " CMD_TARGET_SESSION_USAGE " name [value]",
.target = { 't', CMD_FIND_SESSION, CMD_FIND_CANFAIL },