=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-show-options.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/tmux/cmd-show-options.c 2009/09/21 14:46:47 1.6 --- src/usr.bin/tmux/cmd-show-options.c 2009/11/13 19:53:29 1.7 *************** *** 1,4 **** ! /* $OpenBSD: cmd-show-options.c,v 1.6 2009/09/21 14:46:47 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-show-options.c,v 1.7 2009/11/13 19:53:29 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 32,38 **** const struct cmd_entry cmd_show_options_entry = { "show-options", "show", "[-g] " CMD_TARGET_SESSION_USAGE, ! 0, CMD_CHFLAG('g'), cmd_target_init, cmd_target_parse, cmd_show_options_exec, --- 32,38 ---- const struct cmd_entry cmd_show_options_entry = { "show-options", "show", "[-g] " CMD_TARGET_SESSION_USAGE, ! 0, "g", cmd_target_init, cmd_target_parse, cmd_show_options_exec, *************** *** 50,56 **** const struct set_option_entry *entry; const char *optval; ! if (data->chflags & CMD_CHFLAG('g')) oo = &global_s_options; else { if ((s = cmd_find_session(ctx, data->target)) == NULL) --- 50,56 ---- const struct set_option_entry *entry; const char *optval; ! if (cmd_check_flag(data->chflags, 'g')) oo = &global_s_options; else { if ((s = cmd_find_session(ctx, data->target)) == NULL)