=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-show-options.c,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- src/usr.bin/tmux/cmd-show-options.c 2019/04/30 18:02:03 1.49 +++ src/usr.bin/tmux/cmd-show-options.c 2019/05/12 18:16:33 1.50 @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-show-options.c,v 1.49 2019/04/30 18:02:03 nicm Exp $ */ +/* $OpenBSD: cmd-show-options.c,v 1.50 2019/05/12 18:16:33 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -90,10 +90,8 @@ struct options_entry *o; window = (self->entry == &cmd_show_window_options_entry); - if (args->argc == 0) { - scope = options_scope_from_flags(args, window, fs, &oo, &cause); + if (args->argc == 0) return (cmd_show_options_all(self, item, oo)); - } argument = format_single(item, args->argv[0], c, s, wl, NULL); name = options_match(argument, &idx, &ambiguous);