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 {
71
71
* Top-level command that just prints help.
72
72
*/
73
73
@Command (name = " " , description = " Example interactive shell with completion" ,
74
- footer = {" " , " Press Ctl -D to exit." },
74
+ footer = {" " , " Press Ctrl -D to exit." },
75
75
subcommands = {MyCommand . class, ClearScreen . class, ReadInteractive . class})
76
76
static class CliCommands implements Runnable {
77
77
final ConsoleReader reader;
@@ -164,7 +164,7 @@ public class Example {
164
164
CommandLine cmd = new CommandLine (commands, factory);
165
165
reader. addCompleter(new PicocliJLineCompleter (cmd. getCommandSpec()));
166
166
167
- // start the shell and process input until the user quits with Ctl -D
167
+ // start the shell and process input until the user quits with Ctrl -D
168
168
String line;
169
169
while ((line = reader. readLine(" prompt> " )) != null ) {
170
170
ArgumentList list = new WhitespaceArgumentDelimiter ()
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public class Example {
27
27
* Top-level command that just prints help.
28
28
*/
29
29
@ Command (name = "" , description = "Example interactive shell with completion" ,
30
- footer = {"" , "Press Ctl -D to exit." },
30
+ footer = {"" , "Press Ctrl -D to exit." },
31
31
subcommands = {MyCommand .class , ClearScreen .class , ReadInteractive .class })
32
32
static class CliCommands implements Runnable {
33
33
final ConsoleReader reader ;
@@ -120,7 +120,7 @@ public static void main(String[] args) {
120
120
CommandLine cmd = new CommandLine (commands , factory );
121
121
reader .addCompleter (new PicocliJLineCompleter (cmd .getCommandSpec ()));
122
122
123
- // start the shell and process input until the user quits with Ctl -D
123
+ // start the shell and process input until the user quits with Ctrl -D
124
124
String line ;
125
125
while ((line = reader .readLine ("prompt> " )) != null ) {
126
126
ArgumentList list = new WhitespaceArgumentDelimiter ()
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ public class Example {
133
133
" Hit @|magenta <TAB>|@ to see available commands." ,
134
134
" Hit @|magenta ALT-S|@ to toggle tailtips." ,
135
135
" " },
136
- footer = {" " , " Press Ctl -D to exit." },
136
+ footer = {" " , " Press Ctrl -D to exit." },
137
137
subcommands = {
138
138
MyCommand . class, PicocliCommands . ClearScreen . class, CommandLine . HelpCommand . class})
139
139
static class CliCommands implements Runnable {
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public class Example {
43
43
"Hit @|magenta <TAB>|@ to see available commands." ,
44
44
"Hit @|magenta ALT-S|@ to toggle tailtips." ,
45
45
"" },
46
- footer = {"" , "Press Ctl -D to exit." },
46
+ footer = {"" , "Press Ctrl -D to exit." },
47
47
subcommands = {
48
48
MyCommand .class , PicocliCommands .ClearScreen .class , CommandLine .HelpCommand .class })
49
49
static class CliCommands implements Runnable {
You can’t perform that action at this time.
0 commit comments