]> git.armaanb.net Git - lightcards.git/blobdiff - man/lightcards.1
Update error code section of manpage
[lightcards.git] / man / lightcards.1
index c8264e4c34fab5b4c07d2afb22286d2c919419d2..45f36029e2d8cbbab5ec0e321c5ea4df205c3afa 100644 (file)
@@ -1,13 +1,13 @@
 .\" Automatically generated by Pandoc 2.11.3
 .\"
-.TH "lightcards" "1" "January 2021" "0.3.0" ""
+.TH "lightcards" "1" "February 2021" "0.6.0" ""
 .hy
 .SH NAME
 .PP
 lightcards - terminal flashcards from Markdown
 .SH SYNOPSIS
 .PP
-lightcards [options] [input file]
+lightcards [options] input file
 .SH DESCRIPTION
 .PP
 \f[B]lightcards\f[R] is a Python program that reads data from a two
@@ -22,12 +22,17 @@ Relative or absolute path to the input Markdown or HTML file
 \f[B]-h\f[R], \f[B]\[en]help\f[R]
 Show a help message and exit
 .TP
+\f[B]-a\f[R], \f[B]\[en]alphabetize\f[R]
+Alphabetize card order
+.TP
 \f[B]-f\f[R], \f[B]\[en]flip\f[R]
 Show second column first
 .TP
+\f[B]-p\f[R], \f[B]\[en]purge\f[R]
+Purge cache for chosen set
+.TP
 \f[B]-r\f[R], \f[B]\[en]reverse\f[R]
-Reverse card order.
-Has no effect when shuffling as well
+Reverse card order
 .TP
 \f[B]-s\f[R], \f[B]\[en]shuffle\f[R]
 Shuffle card order
@@ -59,13 +64,20 @@ Open help screen
 .TP
 \f[B]e\f[R]
 Open input file in $EDITOR
+.TP
+\f[B]m\f[R]
+Open control menu
+.SH INPUT FILE
+.PP
+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.
 .SH EXIT VALUES
 .TP
 \f[B]0\f[R]
 Success
 .TP
 \f[B]1\f[R]
-Cannot find input file
+Parse error
 .TP
 \f[B]2\f[R]
 Invalid option