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 6511ac6b6a
commit b757cdc30d
2 files changed
+3 -3

No files matched your search

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