Compare commits
1 Commits
feature/ad
...
fix/greeti
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ee7c2ba46b |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -36,3 +36,4 @@ hs_err_pid*
|
||||
.project
|
||||
.settings/
|
||||
.vscode/
|
||||
PKGBUILD
|
||||
@@ -6,7 +6,13 @@ public class Greeting {
|
||||
public static void greeting(Scanner UserInput) {
|
||||
System.out.println("Welcome to cflash!");
|
||||
System.out.println("Would you like to flash an image (Y/n)");
|
||||
UserInput.nextLine();
|
||||
String input = UserInput.nextLine();
|
||||
if (YesNo.check(input)) {
|
||||
System.out.println("Please choose the to be flashed device (f. e. sda)");
|
||||
} else {
|
||||
System.out.println("Canceling...");
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user