We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfb40ae commit fe50ff1Copy full SHA for fe50ff1
1 file changed
src/main/java/technology/tabula/CommandLineApp.java
@@ -108,7 +108,8 @@ static void extractTables(CommandLine line) throws ParseException {
108
verticalRulingPositions = parseFloatList(line.getOptionValue('c'));
109
}
110
111
- List<Integer> pages = Utils.parsePagesOption(line.getOptionValue('p'));
+ String pagesOption = line.hasOption('p') ? line.getOptionValue('p') : "1";
112
+ List<Integer> pages = Utils.parsePagesOption(pagesOption);
113
ExtractionMethod method = whichExtractionMethod(line);
114
boolean useLineReturns = line.hasOption('u');
115
0 commit comments