diff src/main/kotlin/name/blackcap/passman/CreateSubcommand.kt @ 13:302d224bbd57

Improve help messages and csv error reportage.
author David Barts <n5jrn@me.com>
date Tue, 24 Jan 2023 20:13:13 -0800
parents cbe4c797c9a6
children ea65ab890f66
line wrap: on
line diff
--- a/src/main/kotlin/name/blackcap/passman/CreateSubcommand.kt	Sun Jan 22 09:22:53 2023 -0800
+++ b/src/main/kotlin/name/blackcap/passman/CreateSubcommand.kt	Tue Jan 24 20:13:13 2023 -0800
@@ -17,7 +17,7 @@
         val options = Options().apply {
             addOption("g", GENERATE, false, "Use password generator.")
             addOption("h", HELP, false, "Print this help message.")
-            addOption("l", LENGTH, true, "Length of generated password.")
+            addOption("l", LENGTH, true, "Length of generated password (default $DEFAULT_GENERATED_LENGTH).")
             addOption("s", SYMBOLS, false, "Use symbol characters in generated password.")
             addOption("v", VERBOSE, false, "Print the generated password.")
         }