TerminalShell: add --shell-version and --terminal-version options to disable shell / terminal version detection

in case that users don't like it
This commit is contained in:
李通洲
2023-01-11 17:17:17 +08:00
parent 9dab23b5fc
commit 7145f5252d
9 changed files with 47 additions and 8 deletions
+12
View File
@@ -212,6 +212,18 @@
# Default is auto.
#--gl auto
# Shell option
# Sets if shell version should be detected and printed
# Must be either true or false
# Default is true.
#--shell-version true
# Terminal option
# Sets if terminal version should be detected and printed
# Must be either true or false
# Default is true.
#--terminal-version true
# Disk option
# Sets if removable volume should be printed
# Must be either true or false
+2
View File
@@ -103,6 +103,8 @@ Module specific options:
--title-fqdn <?value>: Set if the title should use fully qualified domain name. Default is false
--separator-string <str>: Set the string printed by the separator module
--os-file <path>: Set the path to the file containing OS information
--shell-version <?value>: Set if shell version should be detected and printed
--terminal-version <?value>: Set if terminal version should be detected and printed
--disk-folders <folders>: A colon (semicolon on Windows) separated list of folder paths for the disk output. Default is "/:/home" ("C:\\;D:\\ ..." on Windows)
--disk-show-removable <?value>: Set if removable volume should be printed. Default is true
--disk-show-hidden <?value>: Set if hidden volumes should be printed. Default is false