Concise option/value descriptions

This commit is contained in:
EmilySeville7cfg 2021-12-16 08:03:02 +10:00 committed by ridiculousfish
parent d3ad5fe398
commit 3f7cfdd144
11 changed files with 46 additions and 46 deletions

View file

@ -17,7 +17,7 @@ i\tClear the Not Content Indexed file attribute' | awk -F '\t' "{ printf \"$curr
case '*' case '*'
if __fish_seen_argument --windows 's' if __fish_seen_argument --windows 's'
echo -e '/d\tApply attrib and any command-line options to directories echo -e '/d\tApply attrib and any command-line options to directories
/l\tApply attrib and any command-line options to the Symbolic Link, rather than the target of it' /l\tApply attrib and any command-line options to the Symbolic Link'
end end
echo -e '+\tSet the file attribute echo -e '+\tSet the file attribute

View file

@ -1,7 +1,7 @@
complete --command choice --no-files --arguments '/c\t"Specify the list of choices to be created" complete --command choice --no-files --arguments '/c\t"Specify the list of choices to be created"
/n\t"Hide the list of choices" /n\t"Hide the list of choices"
/cs\t"Specify that the choices are case-sensitive" /cs\t"Specify that the choices are case-sensitive"
/t\t"Specify the number of seconds to pause before using the default choice specified by /d" /t\t"Specify the number of seconds"
/d\t"Specify the default choice to use after waiting the number of seconds specified by /t" /d\t"Specify the default choice"
/m\t"Specify a message to display before the list of choices" /m\t"Specify a message"
/?\t"Show help"' /?\t"Show help"'

View file

@ -6,9 +6,9 @@ function __cleanmgr_generate_args --description 'Function to generate args'
return return
end end
echo -e '/d\tSpecify the drive that you want Disk Cleanup to clean echo -e '/d\tSpecify the drive
/sageset\tDisplay the Disk Cleanup Settings dialog box and also create a registry keyt /sageset\tDisplay the Disk Cleanup Settings dialog box and also create a registry keyt
/sagerun\tRun the specified tasks that are assigned to the n value if you use the /sageset option /sagerun\tRun the specified tasks that are assigned to the n value
/tuneup\tRun /sageset and /sagerun for the same n /tuneup\tRun /sageset and /sagerun for the same n
/lowdisk\tRun with the default settings /lowdisk\tRun with the default settings
/verylowdisk\tRun with the default settings, no user prompts /verylowdisk\tRun with the default settings, no user prompts

View file

@ -37,8 +37,8 @@ off\tDisable delayed environment variable expansion' | awk -F '\t' "{ printf \"$
echo -e '/s\tModify the treatment of string after /c or /k echo -e '/s\tModify the treatment of string after /c or /k
/q\tTurn the echo off /q\tTurn the echo off
/d\tDisable execution of AutoRun commands /d\tDisable execution of AutoRun commands
/a\tFormat internal command output to a pipe or a file as ANSI /a\tFormat internal command output as ANSI
/u\tFormat internal command output to a pipe or a file as Unicode /u\tFormat internal command output as Unicode
/t\tSet the background and foreground color /t\tSet the background and foreground color
/e\tManage command extensions /e\tManage command extensions
/f\tManage file and directory name completion /f\tManage file and directory name completion

View file

@ -12,20 +12,20 @@ function __cmdkey_generate_args --description 'Function to generate args'
end end
if not __fish_seen_argument --windows 'add:' --windows 'generic:' if not __fish_seen_argument --windows 'add:' --windows 'generic:'
echo -e '/add:\tAdd a user name and password to the list echo -e '/add:\tAdd a user name and password
/generic:\tAdd generic credentials to the list' /generic:\tAdd generic credentials'
end end
if not __fish_seen_argument --windows 'smartcard' --windows 'user:' if not __fish_seen_argument --windows 'smartcard' --windows 'user:'
echo -e '/smartcard\tRetrieve the credential from a smart card echo -e '/smartcard\tRetrieve the credential
/user:\tSpecify the user or account name to store with this entry' /user:\tSpecify the user or account name'
end end
if __fish_seen_argument --windows 'user:' if __fish_seen_argument --windows 'user:'
echo -e '/pass:\tSpecify the password to store with this entry' echo -e '/pass:\tSpecify the password'
end end
echo -e '/delete\tDelete a user name and password from the list echo -e '/delete\tDelete a user name and password
/list:\tDisplay the list of stored user names and credentials /list:\tDisplay the list of stored user names and credentials
/?\tShow help' /?\tShow help'
end end

View file

@ -1,7 +1,7 @@
complete --command comp --no-files --arguments '/d\t"Display differences in decimal format" complete --command comp --no-files --arguments '/d\t"Display differences in decimal format"
/a\t"Display differences as characters" /a\t"Display differences as characters"
/l\t"Displays the number of the line where a difference occurs, instead of displaying the byte offset" /l\t"Displays the number of the line where a difference occurs"
/n=\t"Compare only the number of lines that are specified for each file, even if the files are different sizes" /n=\t"Compare only the number of lines that are specified for each file"
/c\t"Perform a comparison that is not case-sensitive" /c\t"Perform a comparison that is not case-sensitive"
/off\t"Process files with the offline attribute set" /off\t"Process files with the offline attribute set"
/offline\t"Process files with the offline attribute set" /offline\t"Process files with the offline attribute set"

View file

@ -17,7 +17,7 @@ complete --command powershell --old-option NonInteractive \
complete --command powershell --old-option InputFormat --no-files --require-parameter \ complete --command powershell --old-option InputFormat --no-files --require-parameter \
--arguments 'Text XML' --description 'Describe the format of data sent to PowerShell' --arguments 'Text XML' --description 'Describe the format of data sent to PowerShell'
complete --command powershell --old-option OutputFormat --no-files --require-parameter \ complete --command powershell --old-option OutputFormat --no-files --require-parameter \
--arguments 'Text XML' --description 'Determine how output from PowerShell is formatted' --arguments 'Text XML' --description 'Determine how output is formatted'
complete --command powershell --old-option WindowStyle --no-files --require-parameter \ complete --command powershell --old-option WindowStyle --no-files --require-parameter \
--arguments 'Normal Minimized Maximized Hidden' --description 'Set the window style for the session' --arguments 'Normal Minimized Maximized Hidden' --description 'Set the window style for the session'
complete --command powershell --old-option EncodedCommand --require-parameter \ complete --command powershell --old-option EncodedCommand --require-parameter \

View file

@ -18,7 +18,7 @@ REG_EXPAND_SZ'
end end
echo -e '/t\tSpecify the type for the registry entry echo -e '/t\tSpecify the type for the registry entry
/s\tSpecify the character to be used to separate multiple instances of data /s\tSpecify the character to be used
/d\tSpecify the data for the new registry entry /d\tSpecify the data for the new registry entry
/f\tAdd the registry entry without prompting for confirmation /f\tAdd the registry entry without prompting for confirmation
/?\tShow help' /?\tShow help'
@ -26,7 +26,7 @@ end
function __reg_compare_generate_args --argument-names previous_token function __reg_compare_generate_args --argument-names previous_token
if not __fish_seen_argument --windows 'v' --windows 've' if not __fish_seen_argument --windows 'v' --windows 've'
echo -e '/v\tSpecify the value name to compare under the subkey echo -e '/v\tSpecify the value name
/ve\tSpecify that only entries that have a value name of null should be compared' /ve\tSpecify that only entries that have a value name of null should be compared'
end end
@ -75,7 +75,7 @@ REG_NONE'
end end
if not __fish_seen_argument --windows 'v' --windows 've' if not __fish_seen_argument --windows 'v' --windows 've'
echo -e '/v\tSpecify the registry value name that is to be queried echo -e '/v\tSpecify the registry value name
/ve\tRun a query for value names that are empty' /ve\tRun a query for value names that are empty'
end end
@ -84,7 +84,7 @@ REG_NONE'
/d\tSpecify to search in data only' /d\tSpecify to search in data only'
end end
echo -e '/se\tSpecify the single value separator to search for in the value name type REG_MULTI_SZ echo -e '/se\tSpecify the single value separator
/f\tSpecify the data or pattern to search for /f\tSpecify the data or pattern to search for
/c\tSpecify that the query is case sensitive /c\tSpecify that the query is case sensitive
/e\tSpecify to return only exact matches /e\tSpecify to return only exact matches
@ -100,15 +100,15 @@ end
function __reg_generate_args --description 'Function to generate args' function __reg_generate_args --description 'Function to generate args'
if not __fish_seen_subcommand_from add compare copy delete export import load query restore save unload if not __fish_seen_subcommand_from add compare copy delete export import load query restore save unload
echo -e 'add\tAdd a new subkey or entry to the registry echo -e 'add\tAdd a new subkey or entry
compare\tCompare specified registry subkeys or entries compare\tCompare specified registry subkeys or entries
copy\tCopy a registry entry to a specified location on the local or remote computer copy\tCopy a registry entry
delete\tDelete a subkey or entries from the registry delete\tDelete a subkey or entries
export\tCopy the specified subkeys, entries, and values of the local computer into a file export\tCopy the specified subkeys, entries, and values of the local computer into a file
import\tCopy the contents of a file that contains registry data into the registry of the local computer import\tCopy the contents of a file that contains registry data into the registry of the local computer
load\tWrite saved subkeys and entries into a different subkey in the registry load\tWrite saved subkeys and entries into a different subkey in the registry
query\tReturn a list of the next tier of subkeys and entries query\tReturn a list of the next tier of subkeys and entries
restore\tWrite saved subkeys and entries back to the registry restore\tWrite saved subkeys and entries back
save\tSave a copy of specified subkeys, entries, and values of the registry in a specified file save\tSave a copy of specified subkeys, entries, and values of the registry in a specified file
unload\tRemove a section of the registry that was loaded using the reg load operation' unload\tRemove a section of the registry that was loaded using the reg load operation'
return return

View file

@ -28,7 +28,7 @@ function __schtasks_change_generate_args --argument-names previous_token
if not __fish_seen_argument --windows 'et' --windows 'du' if not __fish_seen_argument --windows 'et' --windows 'du'
echo -e '/et\tSpecify the end time for the task echo -e '/et\tSpecify the end time for the task
/du\tA value that specifies the duration to run the task' /du\tA value that specifies the duration'
end end
if not __fish_seen_argument --windows 'ENABLE' --windows 'DISABLE' if not __fish_seen_argument --windows 'ENABLE' --windows 'DISABLE'
@ -193,8 +193,8 @@ CSV'
end end
echo -e '/fo\tSpecify the output format echo -e '/fo\tSpecify the output format
/nh\tRemove column headings from the table display /nh\tRemove column headings
/v\tAdd the advanced properties of the task to the display /v\tAdd the advanced properties of the task
/s\tSpecify the name or IP address of a remote computer /s\tSpecify the name or IP address of a remote computer
/?\tShow help' /?\tShow help'
end end

View file

@ -16,7 +16,7 @@ function __setx_generate_args --description 'Function to generate args'
if not __fish_seen_argument --windows 'a' --windows 'r' --windows 'x' if not __fish_seen_argument --windows 'a' --windows 'r' --windows 'x'
echo -e '/a\tSpecify absolute coordinates and offset as search parameters echo -e '/a\tSpecify absolute coordinates and offset as search parameters
/r\tSpecify relative coordinates and offset from String as search parameters /r\tSpecify relative coordinates and offset
/x\tDisplay file coordinates, ignoring the /a, /r, and /d command-line options' /x\tDisplay file coordinates, ignoring the /a, /r, and /d command-line options'
end end
@ -27,7 +27,7 @@ function __setx_generate_args --description 'Function to generate args'
echo -e '/s\tSpecify the name or IP address of a remote computer echo -e '/s\tSpecify the name or IP address of a remote computer
/k\tSpecify that the variable is set based on information from a registry key /k\tSpecify that the variable is set based on information from a registry key
/f\tSpecify the file that you want to use /f\tSpecify the file that you want to use
/d\tSpecify delimiters to be used in addition to the four built-in delimiters /d\tSpecify delimiters to be used
/?\tShow help' /?\tShow help'
end end