From 2a3d402fa58d9a4aa709ae74dac396b37f8ddf57 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Fri, 30 Aug 2019 18:17:29 -0400 Subject: Updated usage info --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eb6ada3..50e4fe2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Command-line community notice board. Post simple notes for other users to see. ## Features * Username is tagged based on the executing user -* Shows the 30 most recent posts in descending order +* Shows the 15 most recent posts in descending order * Able to go back and edit your own posts * Title <= 30 chars * Body <= 500 chars @@ -44,6 +44,11 @@ $ sudo make install Issuing the program name itself will list the currently available posts, like in the screenshot above. +To display the 15 most recent posts: +``` +$ clinte +``` + To make a new post: ``` @@ -62,6 +67,12 @@ $ clinte update then you will be asked for the new title and body after being shown the previous title and body. +To delete a post: +``` +$ clinte delete +``` +Then `clinte` asks for the numeric ID of the post to delete. + ## Contributing This is very new, so feel free to hack on it in any way you -- cgit 1.4.1-2-gfad0