File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
pixels-cli/src/main/java/io/pixelsdb/pixels/cli Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ public static void main(String[] args)
9292 reader .setOpt (LineReader .Option .BRACKETED_PASTE );
9393
9494 String prompt = "pixels> " ;
95- String multiLineInput ;
95+ String multiLineInput = "" ;
9696
9797 while (true )
9898 {
@@ -102,7 +102,7 @@ public static void main(String[] args)
102102 } catch (UserInterruptException e )
103103 {
104104 // Ctrl+C
105- continue ;
105+ System . exit ( 130 ) ;
106106 } catch (EndOfFileException e )
107107 {
108108 // Issue #631: in case of input from a file, exit at EOF.
@@ -128,7 +128,7 @@ public static void main(String[] args)
128128 inputStr .equalsIgnoreCase ("-q" ))
129129 {
130130 System .out .println ("Bye." );
131- break ;
131+ return ;
132132 }
133133
134134 if (inputStr .equalsIgnoreCase ("help" ) || inputStr .equalsIgnoreCase ("-h" ))
You can’t perform that action at this time.
0 commit comments