summaryrefslogtreecommitdiff
path: root/README.gmi
diff options
context:
space:
mode:
authorArun Isaac2021-09-21 13:17:39 +0530
committerBonfaceKilz2021-09-21 12:40:48 +0300
commitcd53be5b71f8e240cdec1a1adaf4cfea5be73f74 (patch)
tree8a8ce8603ffa9e3a4b45241a79853d8e03dfab2d /README.gmi
parentdae8836dbfbe80075af8052a4db6331c32bb5901 (diff)
downloadgn-gemtext-cd53be5b71f8e240cdec1a1adaf4cfea5be73f74.tar.gz
gnbug: Add edit sub-command.
* gnbug (main): Add edit sub-command. * README.gmi (gnbug): Document it.
Diffstat (limited to 'README.gmi')
-rw-r--r--README.gmi5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.gmi b/README.gmi
index 11d3b83..b08ae8b 100644
--- a/README.gmi
+++ b/README.gmi
@@ -38,6 +38,11 @@ Only list issues assigned to pjotrp.
./gnbug list --assigned=pjotrp
```
+Edit an issue, say issue 9. This opens the relevant gemtext file in your favourite editor as defined by the EDITOR environment variable.
+```
+./gnbug edit 9
+```
+
List issues that were created or updated in the last 3 days, in the last week or month respectively. The --since argument is passed directly to `git log`. Therefore, gnbug understands any --since argument that `git log` understands.
```
./gnbug news --since='3 days'