diff --git a/autocomplete/src/main.cpp b/autocomplete/src/main.cpp
index f4c7323c3481f6d37d36cd027d90aab4372dc1ac..0fc5a90771dacf248f915cb868d17c4190f9366f 100644
--- a/autocomplete/src/main.cpp
+++ b/autocomplete/src/main.cpp
@@ -44,12 +44,15 @@ using namespace std;
 
 
 int main(int argc, char ** argv) {
-	if ( argc != 3 ){
-		cerr << "Usage: " << argv[0] << " <dicionary:file_url> <port:int>\n";
+	if ( argc < 2 ){
+		cerr << "Usage: " << argv[0] << " <string dicionary=../brazilian.txt> <int port=4242>\n";
 		return 1;
 	}
 	
-	int port = atoi(argv[2]);
+	int port = 4242;
+	if ( argc > 2 ){
+		port = atoi(argv[2]);
+	}
 	EmbeddedServer server(argv[1], port);
 	while(1)
 		sleep(100);