summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-find.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-03-15 15:20:01 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-03-15 15:20:01 +0000
commit2b73a48ea09d6cdee3eb56e5bd157f6f40159375 (patch)
treef59cd1271df0fb6b665d4d86d4bfa768cd0fdbc9 /usr.bin/tmux/cmd-find.c
parent37e7aabb5cca19f6012c0b4ddcb8050e3a2eec3c (diff)
Add a : to make error messages clearer.
Diffstat (limited to 'usr.bin/tmux/cmd-find.c')
-rw-r--r--usr.bin/tmux/cmd-find.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tmux/cmd-find.c b/usr.bin/tmux/cmd-find.c
index d95c6dcc241..f2ee855c07a 100644
--- a/usr.bin/tmux/cmd-find.c
+++ b/usr.bin/tmux/cmd-find.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-find.c,v 1.70 2019/03/12 13:14:04 nicm Exp $ */
+/* $OpenBSD: cmd-find.c,v 1.71 2019/03/15 15:20:00 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1264,17 +1264,17 @@ found:
no_session:
if (~flags & CMD_FIND_QUIET)
- cmdq_error(item, "can't find session %s", session);
+ cmdq_error(item, "can't find session: %s", session);
goto error;
no_window:
if (~flags & CMD_FIND_QUIET)
- cmdq_error(item, "can't find window %s", window);
+ cmdq_error(item, "can't find window: %s", window);
goto error;
no_pane:
if (~flags & CMD_FIND_QUIET)
- cmdq_error(item, "can't find pane %s", pane);
+ cmdq_error(item, "can't find pane: %s", pane);
goto error;
}
@@ -1344,7 +1344,7 @@ cmd_find_client(struct cmdq_item *item, const char *target, int quiet)
/* If no client found, report an error. */
if (c == NULL && !quiet)
- cmdq_error(item, "can't find client %s", copy);
+ cmdq_error(item, "can't find client: %s", copy);
free(copy);
log_debug("%s: target %s, return %p", __func__, target, c);