summaryrefslogtreecommitdiffstats
path: root/cmd-show-options.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-07-08 18:01:31 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-07-08 18:01:31 +0000
commit86504af1491c83fe9e4f4d2b882610f4efe0c60b (patch)
treec65bb30e776b23c955ccf30551d8211eb47bb14f /cmd-show-options.c
parent1825609d8d25d38f81b497f2317f60dbb4f9ad39 (diff)
Rename the global options variables to be shorter and to make session options
clear. No functional change, getting this out of the way to make later options changes easier.
Diffstat (limited to 'cmd-show-options.c')
-rw-r--r--cmd-show-options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-show-options.c b/cmd-show-options.c
index 4fb8f804..654f27fa 100644
--- a/cmd-show-options.c
+++ b/cmd-show-options.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-show-options.c,v 1.11 2009-01-27 20:22:33 nicm Exp $ */
+/* $OpenBSD: cmd-show-options.c,v 1.2 2009/07/07 19:49:19 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -54,7 +54,7 @@ cmd_show_options_exec(struct cmd *self, struct cmd_ctx *ctx)
long long vn;
if (data->flags & CMD_GFLAG)
- oo = &global_options;
+ oo = &global_s_options;
else {
if ((s = cmd_find_session(ctx, data->target)) == NULL)
return (-1);