about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-07-26 02:09:01 +0100
committerJames Booth <boothj5@gmail.com>2015-07-26 02:09:01 +0100
commit4f9a8484292a02e283324b6e7a86ebd95f621127 (patch)
tree23e5674720b56b4066e3ff0e844ddf33b402bef2
parent34537e2fb190505a7cf28ac5ca272f831c4b3b2e (diff)
downloadprofani-tty-4f9a8484292a02e283324b6e7a86ebd95f621127.tar.gz
Added message for invalid /wins usage
-rw-r--r--src/command/commands.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 6f12f502..6f3dfbf3 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -739,6 +739,8 @@ cmd_wins(ProfWin *window, gchar **args, const char * const command)
                 cons_show("Same source and target window supplied.");
             }
         }
+    } else {
+        cons_bad_cmd_usage(command);
     }
 
     return TRUE;