]> git.armaanb.net Git - lightcards.git/blobdiff - man/lightcards.1.md
Add input file section to manpage
[lightcards.git] / man / lightcards.1.md
index 90d0c1ae38d12ee94ce61422c547f3971c0499c9..f485c949ac8ea338f9b9278a87525d67c5332579 100644 (file)
@@ -1,6 +1,6 @@
-% lightcards(1) 0.4.0
+% lightcards(1) 0.6.0
 % Armaan Bhojwani
-% January 2021
+% February 2021
 
 # NAME
 lightcards - terminal flashcards from Markdown
@@ -19,11 +19,17 @@ lightcards [[options]] [input file]
 **-h**, **--help**
 : Show a help message and exit
 
+**-a**, **--alphabetize**
+: Alphabetize card order
+
 **-f**, **--flip**
 : Show second column first
 
+**-p**, **--purge**
+: Purge cache for chosen set
+
 **-r**, **--reverse**
-: Reverse card order. Has no effect when shuffling as well
+: Reverse card order
 
 **-s**, **--shuffle**
 : Shuffle card order
@@ -56,6 +62,12 @@ lightcards [[options]] [input file]
 **e**
 : Open input file in $EDITOR
 
+**m**
+: Open control menu
+
+# INPUT FILE
+Lightcards takes the first table from a valid Markdown or HTML file. Each row is a card, and the two columns are the front and back.
+
 # EXIT VALUES
 **0**
 : Success