From 2b6e1f5cc29d73ad2739c073580a77a4a9f5bf8a Mon Sep 17 00:00:00 2001 From: Mayuna <52459400+lilmayu@users.noreply.github.com> Date: Sun, 19 May 2024 00:39:13 +0200 Subject: [PATCH] docs: Updated README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ef69dd4..d09e6b5 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ With the magic of annotations and without. ***It is up to you.*** ```java // Usually when program starts public static void main(String[] args) { - ConsoleParallax consoleParallax = new ConsoleParallax.Builder().build(); + ConsoleParallax consoleParallax = ConsoleParallax.builder().build(); consoleParallax.registerCommand(new ExampleCommand()); consoleParallax.start(); @@ -161,4 +161,4 @@ This class holds some information about the command's invocation: ## Future plans - Annotations (`@Command`, `@Argument`, etc.) with type checks -- Advanced command parser (`--help`, `--name="some-value"`, greedy strings, etc.) \ No newline at end of file +- Advanced command parser (`--help`, `--name="some-value"`, greedy strings, etc.)