Skip to content
This repository has been archived by the owner on Jun 2, 2019. It is now read-only.

Commit

Permalink
Fix args condition
Browse files Browse the repository at this point in the history
  • Loading branch information
dethi committed Dec 9, 2017
1 parent 6bb2221 commit 07540fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/epita/guereza/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class Main {
private static final int NETTY_PORT = 8000;

public static void main(String[] args) {
if (args.length < 1) {
if (args.length != 2) {
System.out.println("usage: ./bin [crawler | indexer | store | server] server_url");
exit(1);
}
Expand Down

0 comments on commit 07540fa

Please sign in to comment.