Index: uspace/app/bdsh/cmds/modules/cat/cat.c
===================================================================
--- uspace/app/bdsh/cmds/modules/cat/cat.c	(revision dd8ab1cacb307cb1ac01aa4918c789d13e112e56)
+++ uspace/app/bdsh/cmds/modules/cat/cat.c	(revision 62ca560dd1468a2f5b122d9ee3473a376d048bae)
@@ -328,4 +328,5 @@
 	console_rows = 0;
 	should_quit = false;
+	dash_represents_stdin = false;
 	console = console_init(stdin, stdout);
 	number = false;
@@ -338,5 +339,5 @@
 
 	for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) {
-		c = getopt_long(argc, argv, "xhvmH:t:b:s:n", long_options, &opt_ind);
+		c = getopt_long(argc, argv, "xhvmH:t:b:sn", long_options, &opt_ind);
 		switch (c) {
 		case 'h':
