File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/wiztools/anyurlhttpserver Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ private static void printHelp(PrintStream out) {
2323 out .println (" -c Response Content-Type. Default is text/html." );
2424 out .println (" -r Response character encoding. Default is utf-8." );
2525 out .println (" -H * Response header in the format: `header:value'." );
26- out .println (" -s Response status code." );
26+ out .println (" -s Response status code. Default is 200. " );
2727 out .println (" -h Print this help." );
2828 out .println ("Parameters with * can be used more than once." );
2929 }
3030
3131 public static void main (String [] args ) throws Exception {
32- OptionParser parser = new OptionParser ("p:f:c:r:H:h" );
32+ OptionParser parser = new OptionParser ("p:f:c:r:H:s: h" );
3333 OptionSet options = parser .parse (args );
3434 if (options .has ("h" )) {
3535 printHelp (System .out );
You can’t perform that action at this time.
0 commit comments