diff --git a/CHANGELOG.md b/CHANGELOG.md index 9118de2..d41332b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 4.2.1-wip + ## 4.2.0 - Added support for `https`. diff --git a/README.md b/README.md index 61bb69f..47e0692 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ See the Dart documentation of [SecurityContext.usePrivateKey](https://api.dart.d ```console $ dhttpd --help ---headers= HTTP headers to apply to each response. Can be used multiple times. Format: header=value;header2=value + --headers= HTTP headers to apply to each response. Can be used multiple times. Format: header=value;header2=value --host= The hostname to listen on. (defaults to "localhost") -l, --list-files List the files in the directory if no index.html is present. diff --git a/lib/src/version.dart b/lib/src/version.dart index c8bf6ec..a712a85 100644 --- a/lib/src/version.dart +++ b/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '4.2.0'; +const packageVersion = '4.2.1-wip'; diff --git a/pubspec.yaml b/pubspec.yaml index 84ae533..4af71b3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: dhttpd -version: 4.2.0 +version: 4.2.1-wip description: A static HTTP file server for easy local hosting of a directory. repository: https://github.com/kevmoo/dhttpd diff --git a/test/command_test.dart b/test/command_test.dart index 6f1ff85..b6d25d6 100644 --- a/test/command_test.dart +++ b/test/command_test.dart @@ -26,7 +26,7 @@ Future _versionCheck() async { Future _readmeCheck(List args) async { final process = await _runApp(args); - final output = (await process.stdoutStream().join('\n')).trim(); + final output = (await process.stdoutStream().join('\n')).trimRight(); await process.shouldExit(0); final readme = File('README.md'); @@ -43,7 +43,7 @@ $output expect(expected, r'''```console $ dhttpd --help ---headers= HTTP headers to apply to each response. Can be used multiple times. Format: header=value;header2=value + --headers= HTTP headers to apply to each response. Can be used multiple times. Format: header=value;header2=value --host= The hostname to listen on. (defaults to "localhost") -l, --list-files List the files in the directory if no index.html is present.