From d7b418e2961e2800e99f5b27403a65602bb2193b Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Thu, 19 Dec 2019 08:47:58 -0600 Subject: [PATCH] GoDoc: Add missing help output, fix formatting - Add missing flag in help output - Remove forced line break/wrapping since GoDoc interprets this as a code block instead of continuing the line - Update CHANGELOG refs #4 Update CHANGELOG --- CHANGELOG.md | 11 ++++++++++- doc.go | 5 +++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e6ae88..8b3b902 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,14 @@ The following types of changes will be recorded in this file: - placeholder +## [v0.2.1] - 2019-12-19 + +### Fixed + +- Add missing flag in help output +- Remove forced line break/wrapping since GoDoc interprets + this as a code block instead of continuing the line + ## [v0.2.0] - 2019-12-19 ### Added @@ -44,6 +52,7 @@ This initial prototype supports/provides: - GitHub Actions linting and build checks - Makefile for general use cases -[Unreleased]: https://github.com/atc0005/send2teams/compare/v0.2.0...HEAD +[Unreleased]: https://github.com/atc0005/send2teams/compare/v0.2.1...HEAD +[v0.2.1]: https://github.com/atc0005/send2teams/releases/tag/v0.2.1 [v0.2.0]: https://github.com/atc0005/send2teams/releases/tag/v0.2.0 [v0.1.0]: https://github.com/atc0005/send2teams/releases/tag/v0.1.0 diff --git a/doc.go b/doc.go index a235986..01b6523 100644 --- a/doc.go +++ b/doc.go @@ -21,8 +21,7 @@ FEATURES • very few build dependencies -• optional conversion of messages with Windows, Mac or Linux newlines to - `
` to increase compatibility with Teams formatting +• optional conversion of messages with Windows, Mac or Linux newlines to `
` to increase compatibility with Teams formatting USAGE @@ -33,6 +32,8 @@ Help output is below. See the README for examples. The target channel where we will send a message -color string The hex color code used to set the desired trim color on submitted messages (default "#832561") + -convert-eol + Whether messages with Windows, Mac and Linux newlines are updated to use break statements before message submission -message string The (optionally) Markdown-formatted message to submit -silent