Skip to content

Commit

Permalink
Merge pull request #5 from atc0005/i4-fix-godoc-issues
Browse files Browse the repository at this point in the history
GoDoc: Add missing help output, fix formatting
  • Loading branch information
atc0005 authored Dec 19, 2019
2 parents 47314f6 + d7b418e commit a9b5005
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
5 changes: 3 additions & 2 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ FEATURES
• very few build dependencies
• optional conversion of messages with Windows, Mac or Linux newlines to
`<br>` to increase compatibility with Teams formatting
• optional conversion of messages with Windows, Mac or Linux newlines to `<br>` to increase compatibility with Teams formatting
USAGE
Expand All @@ -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
Expand Down

0 comments on commit a9b5005

Please sign in to comment.