Update README.md

This commit is contained in:
ByteDream 2021-06-03 01:32:18 +02:00 committed by GitHub
parent 17d969d0dc
commit 1576d7a121
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,14 +4,13 @@ Makes java code look like it should.
#### Usage #### Usage
Beautifies a java file.
``` ```
./java-beautifier.py <a java file> ./java-beautifier.py <a java file>
``` ```
#### Example #### Example
1. Create `Main.java` with the content 1. Create a `Main.java` with the following content:
```java ```java
public class Main { public class Main {
@ -30,7 +29,7 @@ Beautifies a java file.
2. Beautify the file: `./java-beautifier.py Main.java` 2. Beautify the file: `./java-beautifier.py Main.java`
3. Look at the beautiful output 3. Look at the beautiful output:
```java ```java
public class Main { public class Main {
public static void main(String[] args) { public static void main(String[] args) {