This repository was archived by the owner on Jul 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cypher-shell/src/main/java/org/neo4j/shell/cli Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -168,8 +168,6 @@ private static ArgumentParser setupParser(ParameterMap parameterMap)
168168 connGroup .addArgument ("-d" , "--database" )
169169 .help ("database to connect to. Can also be specified using environment variable " + ConnectionConfig .DATABASE_ENV_VAR )
170170 .setDefault ("" );
171- connGroup .addArgument ("-f" , "--file" )
172- .help ("Pass a file with cypher statements to be executed. After the statements have been executed cypher-shell will be shutdown" );
173171
174172 MutuallyExclusiveGroup failGroup = parser .addMutuallyExclusiveGroup ();
175173 failGroup .addArgument ("--fail-fast" )
@@ -229,6 +227,8 @@ private static ArgumentParser setupParser(ParameterMap parameterMap)
229227 parser .addArgument ("cypher" )
230228 .nargs ("?" )
231229 .help ("an optional string of cypher to execute and then exit" );
230+ parser .addArgument ("-f" , "--file" )
231+ .help ("Pass a file with cypher statements to be executed. After the statements have been executed cypher-shell will be shutdown" );
232232
233233 return parser ;
234234 }
You can’t perform that action at this time.
0 commit comments