HSAdmin Backend Domains, E-Mail, Datenbanken
Michael Hierweck
2012-11-28 9c4eca45ce657ffd01ad84078ecddd1930aed8fd
Updated prompt and some messages.
2 files modified
6 ■■■■ changed files
hsarjcli/src/de/hsadmin/jscli/ConsoleWrapper.java 2 ●●● patch | view | raw | blame | history
hsarjcli/src/de/hsadmin/jscli/Main.java 4 ●●●● patch | view | raw | blame | history
hsarjcli/src/de/hsadmin/jscli/ConsoleWrapper.java
@@ -47,7 +47,7 @@
    public String readPassword() throws JSCliException {
        try {
            String pw = cons.readLine("password:", new Character('*'));
            String pw = cons.readLine("Password: ", new Character('*'));
            cons.setDefaultPrompt(prompt);
            return pw;
        } catch (IOException e) {
hsarjcli/src/de/hsadmin/jscli/Main.java
@@ -26,7 +26,7 @@
                    try {
                        console.println(formatter.format(scriptClient.execute(new FileReader(fileHandle))));
                    } catch (FileNotFoundException e) {
                        System.err.println("file not found: " + file);
                        System.err.println("File not found: " + file);
                    }
                }
            }
@@ -40,7 +40,7 @@
                    try {
                        console.println(formatter.format(scriptClient.execute(command)));
                    } catch (Exception e) {
                        console.println("ERR: " + e.getLocalizedMessage() + "\n");
                        console.println("Error: " + e.getLocalizedMessage() + "\n");
                    }
                    command = console.readInput();
                }