File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
src/test/java/picocli/shell/jline2/example
src/test/java/picocli/shell/jline3/example Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ public class Example {
7171 * Top-level command that just prints help.
7272 */
7373 @Command (name = " " , description = " Example interactive shell with completion" ,
74- footer = {" " , " Press Ctrl -D to exit." },
74+ footer = {" " , " Press Ctl -D to exit." },
7575 subcommands = {MyCommand . class, ClearScreen . class, ReadInteractive . class})
7676 static class CliCommands implements Runnable {
7777 final ConsoleReader reader;
@@ -164,7 +164,7 @@ public class Example {
164164 CommandLine cmd = new CommandLine (commands, factory);
165165 reader. addCompleter(new PicocliJLineCompleter (cmd. getCommandSpec()));
166166
167- // start the shell and process input until the user quits with Ctrl -D
167+ // start the shell and process input until the user quits with Ctl -D
168168 String line;
169169 while ((line = reader. readLine(" prompt> " )) != null ) {
170170 ArgumentList list = new WhitespaceArgumentDelimiter ()
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public class Example {
2727 * Top-level command that just prints help.
2828 */
2929 @ Command (name = "" , description = "Example interactive shell with completion" ,
30- footer = {"" , "Press Ctrl -D to exit." },
30+ footer = {"" , "Press Ctl -D to exit." },
3131 subcommands = {MyCommand .class , ClearScreen .class , ReadInteractive .class })
3232 static class CliCommands implements Runnable {
3333 final ConsoleReader reader ;
@@ -120,7 +120,7 @@ public static void main(String[] args) {
120120 CommandLine cmd = new CommandLine (commands , factory );
121121 reader .addCompleter (new PicocliJLineCompleter (cmd .getCommandSpec ()));
122122
123- // start the shell and process input until the user quits with Ctrl -D
123+ // start the shell and process input until the user quits with Ctl -D
124124 String line ;
125125 while ((line = reader .readLine ("prompt> " )) != null ) {
126126 ArgumentList list = new WhitespaceArgumentDelimiter ()
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ public class Example {
133133 " Hit @|magenta <TAB>|@ to see available commands." ,
134134 " Hit @|magenta ALT-S|@ to toggle tailtips." ,
135135 " " },
136- footer = {" " , " Press Ctrl -D to exit." },
136+ footer = {" " , " Press Ctl -D to exit." },
137137 subcommands = {
138138 MyCommand . class, PicocliCommands . ClearScreen . class, CommandLine . HelpCommand . class})
139139 static class CliCommands implements Runnable {
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public class Example {
4343 "Hit @|magenta <TAB>|@ to see available commands." ,
4444 "Hit @|magenta ALT-S|@ to toggle tailtips." ,
4545 "" },
46- footer = {"" , "Press Ctrl -D to exit." },
46+ footer = {"" , "Press Ctl -D to exit." },
4747 subcommands = {
4848 MyCommand .class , PicocliCommands .ClearScreen .class , CommandLine .HelpCommand .class })
4949 static class CliCommands implements Runnable {
You can’t perform that action at this time.
0 commit comments