Skip to content

Commit 38904c9

Browse files
nihaltpCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent b8d2160 commit 38904c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/mycmd/commands/TitleCommand.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ public void execute(String[] args, ShellContext context) {
99
if (args.length > 0) {
1010
String title = String.join(" ", args);
1111
System.out.println("\033]0;" + title + "\007");
12+
} else {
13+
System.out.println("Usage: title <new title>");
1214
}
1315
}
1416

0 commit comments

Comments
 (0)