aboutsummaryrefslogtreecommitdiffstats
path: root/doc/md
diff options
context:
space:
mode:
authorvince <vincetiu8@gmail.com>2020-07-09 14:59:47 +0800
committerMichael Muré <batolettre@gmail.com>2021-02-14 12:17:48 +0100
commitd96284da646cc1d3e3d7d3b2f7a1ab0e8e7a4d88 (patch)
tree032869cd4c3ff959a42b7489795cc2cd8afc6423 /doc/md
parent2788c5fc87507974d3237d4edc233fda3f784b35 (diff)
downloadgit-bug-d96284da646cc1d3e3d7d3b2f7a1ab0e8e7a4d88.tar.gz
Change the comment ID to use both bug and comment ID references.
Add comment edit command This commit adds the comment edit command, which provides a CLI tool that allows a user to edit a comment.
Diffstat (limited to 'doc/md')
-rw-r--r--doc/md/git-bug_comment.md1
-rw-r--r--doc/md/git-bug_comment_edit.md20
2 files changed, 21 insertions, 0 deletions
diff --git a/doc/md/git-bug_comment.md b/doc/md/git-bug_comment.md
index 6ac7c45b..48050a97 100644
--- a/doc/md/git-bug_comment.md
+++ b/doc/md/git-bug_comment.md
@@ -16,4 +16,5 @@ git-bug comment [ID] [flags]
* [git-bug](git-bug.md) - A bug tracker embedded in Git.
* [git-bug comment add](git-bug_comment_add.md) - Add a new comment to a bug.
+* [git-bug comment edit](git-bug_comment_edit.md) - Edit an existing comment on a bug.
diff --git a/doc/md/git-bug_comment_edit.md b/doc/md/git-bug_comment_edit.md
new file mode 100644
index 00000000..2546dff1
--- /dev/null
+++ b/doc/md/git-bug_comment_edit.md
@@ -0,0 +1,20 @@
+## git-bug comment edit
+
+Edit an existing comment on a bug.
+
+```
+git-bug comment edit <commentid> [flags]
+```
+
+### Options
+
+```
+ -F, --file string Take the message from the given file. Use - to read the message from the standard input
+ -m, --message string Provide the new message from the command line
+ -h, --help help for edit
+```
+
+### SEE ALSO
+
+* [git-bug comment](git-bug_comment.md) - Display or add comments to a bug.
+