Index: uspace/app/netecho/netecho.c
===================================================================
--- uspace/app/netecho/netecho.c	(revision 5d0f1bc98f63dba53e1c3f9b28ec5a020e3bbe81)
+++ uspace/app/netecho/netecho.c	(revision b4c9c61b6d2be7f3de7f313e31fc7ad751b286ba)
@@ -173,4 +173,6 @@
 				} else if (str_lcmp(argv[index] + 2, "count=", 6) == 0) {
 					rc = arg_parse_int(argc, argv, &index, &count, 8);
+					if (rc != EOK)
+						return rc;
 				} else if (str_lcmp(argv[index] + 2, "family=", 7) == 0) {
 					rc = arg_parse_name_int(argc, argv, &index, &family, 9, socket_parse_protocol_family);
