Remove "-v" shortcut for "version" argument, as it does not work with Powershell completion; remove "-h" visual option for "help" for consistency

This commit is contained in:
RandyTheSilly committed 2024-07-05 21:41:18 -04:00
1 parent f25c68cea3
commit 43d87a5b46
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -174,7 +174,7 @@ func main() {
cli.HelpGen()
case "add":
cli.HelpAdd()
case "version", "-v":
case "version":
cli.Version()
default:
cli.HelpMain()
+2 -2
View File
@@ -21,8 +21,8 @@ This program comes with absolutely no warranty; type "mutn version" for details.
` + AnsiBold + "Usage:" + backend.AnsiReset + ` mutn [/<entry name> [argument] [option]] | [argument]
` + AnsiBold + "Arguments:" + backend.AnsiReset + `
help|-h Bring up this menu
version|-v Display version and license information
help Bring up this menu
version Display version and license information
init Set up MUTN (generates libmutton.ini)
tweak Change configuration options
copy Copy details of an entry to your clipboard