8000 Fixed #1637 · githubcs/orientdb@2611904 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2611904

Browse files
committed
1 parent 76fb6a0 commit 2611904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/src/main/java/com/orientechnologies/orient/console/OConsoleDatabaseApp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1595,7 +1595,7 @@ public void exportDatabase(@ConsoleParameter(name = "options", description = "Ex
15951595

15961596
out.println(new StringBuilder("Exporting current database to: ").append(iText).append(" in GZipped JSON format ..."));
15971597
final List<String> items = OStringSerializerHelper.smartSplit(iText, ' ');
1598-
final String fileName = items.size() <= 0 || items.get(1).charAt(0) == '-' ? null : items.get(1);
1598+
final String fileName = items.size() <= 1 || items.get(1).charAt(0) == '-' ? null : items.get(1);
15991599
final String options = fileName != null ? iText.substring(items.get(0).length() + items.get(1).length() + 1).trim() : iText;
16001600

16011601
try {

0 commit comments

Comments
 (0)
0