]> git.armaanb.net Git - lightcards.git/blobdiff - man/lightcards.1.md
Make optional arguments more explicit
[lightcards.git] / man / lightcards.1.md
index 3a0388b70a78892be2fe0032c318ad9f8935a776..24e3cd0129b179d63ac6da26f805333eb8b60cee 100644 (file)
@@ -17,28 +17,31 @@ lightcards \[options\] \[input file\]
 
 # OPTIONS
 ## Generic Program Information
-**-h**, **--help**
+**-h**, **\--help**
 : Show a help message and exit
 
-**-v**, **--version**
+**-v**, **\--version**
 : Print version and exit
 
-## Stack sorting
-**-a**, **--alphabetize**
+## Startup options
+**-a**, **\--alphabetize**
 : Alphabetize card order
 
-**-f**, **--flip**
-: Show second column first
-
-**-p**, **--purge**
+**-p**, **\--purge**
 : Purge cache for chosen set
 
-**-r**, **--reverse**
+**-r**, **\--reverse**
 : Reverse card order
 
-**-s**, **--shuffle**
+**-s**, **\--shuffle**
 : Shuffle card order
 
+**-V** \[1-3\], **\--view** \[1-3\]
+: Specify startup view
+
+**-c** \[config file\], **\--config** \[config file\]
+: Specify a custom config file
+
 # KEYS
 **l**, **right**
 : Next card
@@ -61,14 +64,14 @@ lightcards \[options\] \[input file\]
 **H**, **?**
 : Open help screen
 
-**e**
-: Open input file in $EDITOR
-
 **m**
 : Open control menu
 
-**1**, **2**
-: Switch views
+**1**, **2**, **3**
+: Switch views between front first, back first, and both
+
+**q**
+: Quit
 
 # 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.
@@ -83,6 +86,15 @@ Lightcards takes the first table from a valid Markdown or HTML file. Each row is
 **2**
 : Invalid option
 
+**3**
+: Curses error
+
+**4**
+: Config error
+
+# SEE ALSO
+  **lightcards-config(5)**
+
 # BUGS
 https://lists.sr.ht/~armaan/public-inbox