Skip to content

Commit 82052fd

Browse files
authored
Merge pull request #9 from aponb/parameterfix
Fix -p short option not recognized for --port
2 parents 0e4d3eb + e9ac4a1 commit 82052fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crawler/src/org/netpreserve/warcaroo/Warcaroo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static void main(String[] args) throws Exception {
4747
case "--dump-scope" -> dumpScope = true;
4848
case "--host" -> host = args[++i];
4949
case "--job-dir", "-j" -> jobDir = Path.of(args[++i]);
50-
case "--port" -> port = Integer.parseInt(args[++i]);
50+
case "--port", "-p" -> port = Integer.parseInt(args[++i]);
5151
case "--help", "-h" -> {
5252
System.out.println("Usage: warcaroo [URL...]");
5353
System.out.println("Options:");

0 commit comments

Comments
 (0)