mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 05:03:46 +08:00
completions: Fix some more overlong descriptions (#7550)
* Fix overlong completion descriptions for wget * Fix overlong completion descriptions for valgrind * Fix overlong completion descriptions for mocha * Fix overlong completion descriptions for adduser * Shorten and clean up completion descriptions
This commit is contained in:
parent
c065d24632
commit
e8dcef5a71
|
@ -8,21 +8,21 @@
|
|||
complete -x -c adduser -a "(__fish_complete_users; __fish_complete_groups)"
|
||||
complete -c adduser -l conf -d 'Specify config file' -r
|
||||
complete -c adduser -l disabled-login -d 'Do not run passwd to set the password'
|
||||
complete -c adduser -l disabled-password -d 'Like --disabled-login, but logins are still possible (for example using SSH RSA keys) but not using password authentication'
|
||||
complete -c adduser -l force-badname -d 'By default, user and group names are checked against the configurable regular expression NAME_REGEX (or NAME_REGEX if --system is specified) specified in the configuration file'
|
||||
complete -c adduser -l disabled-password -d 'Do not set password, but allow non-password logins (e.g. SSH RSA)'
|
||||
complete -c adduser -l force-badname -d 'Apply only a weak check for validity of the user/group name'
|
||||
complete -c adduser -l gecos -d 'Set the gecos field for the new entry generated' -r
|
||||
complete -c adduser -l gid -d 'When creating a group, this option forces the new groupid to be the given number' -r
|
||||
complete -c adduser -l group -d 'When combined with --system, a group with the same name and ID as the system user is created'
|
||||
complete -c adduser -l gid -d 'When creating a group, force the groupid to be the given number' -r
|
||||
complete -c adduser -l group -d 'Create a group'
|
||||
complete -c adduser -l help -d 'Display brief instructions'
|
||||
complete -c adduser -l home -d 'Use specified directory as the user\'s home directory' -x -a '(__fish_complete_directories)'
|
||||
complete -c adduser -l shell -d 'Use shell as the user\'s login shell, rather than the default specified by the configuration file' -x -a '(cat /etc/shells)'
|
||||
complete -c adduser -l ingroup -d 'Add the new user to GROUP instead of a usergroup or the default group defined by USERS_GID in the configuration file' -x -a '(cut -d : -f 1 /etc/group)'
|
||||
complete -c adduser -l no-create-home -d 'Do not create the home directory, even if it doesni\'t exist'
|
||||
complete -c adduser -l shell -d 'Use shell as the user\'s login shell, rather than the default' -x -a '(cat /etc/shells)'
|
||||
complete -c adduser -l ingroup -d 'Add the new user to GROUP instead of a usergroup or the default group' -x -a '(cut -d : -f 1 /etc/group)'
|
||||
complete -c adduser -l no-create-home -d 'Do not create the home directory'
|
||||
complete -c adduser -l quiet -d 'Suppress informational messages, only show warnings and errors'
|
||||
complete -c adduser -l debug -d 'Be verbose, most useful if you want to nail down a problem with adduser'
|
||||
complete -c adduser -l system -d 'Create a system user or group'
|
||||
complete -c adduser -l uid -d 'Force the new userid to be the given number' -r
|
||||
complete -c adduser -l firstuid -d 'Override the first uid in the range that the uid is chosen from (overrides FIRST_UID specified in the configuration file)' -r
|
||||
complete -c adduser -l lastuid -d 'ID Override the last uid in the range that the uid is chosen from ( LAST_UID )' -r
|
||||
complete -c adduser -l firstuid -d 'Override the first uid in the range that the uid is chosen from (FIRST_UID)' -r
|
||||
complete -c adduser -l lastuid -d 'ID Override the last uid in the range that the uid is chosen from (LAST_UID)' -r
|
||||
complete -c adduser -l add_extra_groups -d 'Add new user to extra groups defined in the configuration file'
|
||||
complete -c adduser -l version -d 'Display version and copyright information'
|
||||
|
|
|
@ -25,7 +25,7 @@ complete -c mocha -l debug-brk -d "enable node's debugger breaking on thefirst l
|
|||
complete -c mocha -l globals -x -d "allow the given comma-delimited global[names]"
|
||||
complete -c mocha -l es_staging -d "enable all staged features"
|
||||
complete -c mocha -l harmony -d "all node --harmony* flags are available"
|
||||
complete -c mocha -l preserve-symlinks -d "Instructs the module loader to preserve symbolic links when resolving and caching modules"
|
||||
complete -c mocha -l preserve-symlinks -d "Preserve symbolic links when loading modules"
|
||||
complete -c mocha -l icu-data-dir -d "include ICU data"
|
||||
complete -c mocha -l inline-diffs -d "display actual/expected differences inline within each string"
|
||||
complete -c mocha -l interfaces -d "display available interfaces"
|
||||
|
|
|
@ -52,7 +52,7 @@ complete -xc valgrind -l input-fd -d "File descriptor for input" -a "0 1 2 3 4 5
|
|||
# Memcheck-specific options
|
||||
complete -n "__fish_valgrind_skin memcheck" -xc valgrind -l leak-check -d "Check for memory leaks" -a "no\tDon\'t\ check\ for\ memory\ leaks summary\t'Show a leak summary' full\t'Describe memory leaks in detail'"
|
||||
complete -n "__fish_valgrind_skin memcheck" -xc valgrind -l show-reachable -d "Show reachable leaked memory" -a "yes\t'Show reachable leaked memory' no\t'Do not show reachable leaked memory'"
|
||||
complete -n "__fish_valgrind_skin memcheck" -xc valgrind -l leak-resolution -d "Determines how willing Memcheck is to consider different backtraces to be the same" -a "low\t'Two entries need to match' med\t'Four entries need to match' high\t'All entries need to match'"
|
||||
complete -n "__fish_valgrind_skin memcheck" -xc valgrind -l leak-resolution -d "Determines how willingly Memcheck considers different backtraces to be the same" -a "low\t'Two entries need to match' med\t'Four entries need to match' high\t'All entries need to match'"
|
||||
complete -n "__fish_valgrind_skin memcheck" -xc valgrind -l freelist-vol -d "Set size of freed memory pool"
|
||||
complete -n "__fish_valgrind_skin memcheck" -xc valgrind -l partial-loads-ok -d 'How to handle loads of words that are partially addressible' -a 'yes\t"Do not emit errors on partial loads" no\t"Emit errors on partial loads"'
|
||||
complete -n "__fish_valgrind_skin memcheck" -xc valgrind -l avoid-strlen-errors -d 'Whether to skip error reporting for the strlen function' -a 'yes no'
|
||||
|
@ -61,7 +61,7 @@ complete -n "__fish_valgrind_skin memcheck" -xc valgrind -l avoid-strlen-errors
|
|||
# Addrcheck-specific options
|
||||
complete -n "__fish_valgrind_skin addrcheck" -xc valgrind -l leak-check -d "Check for memory leaks" -a "no\t'Do not check for memory leaks' summary\t'Show a leak summary' full\t'Describe memory leaks in detail'"
|
||||
complete -n "__fish_valgrind_skin addrcheck" -xc valgrind -l show-reachable -d "Show reachable leaked memory" -a "yes\t'Show reachable leaked memory' no\t'Do not show reachable leaked memory'"
|
||||
complete -n "__fish_valgrind_skin addrcheck" -xc valgrind -l leak-resolution -d "Determines how willing Addrcheck is to consider different backtraces to be the same" -a "low\t'Two entries need to match' med\t'Four entries need to match' high\t'All entries need to match'"
|
||||
complete -n "__fish_valgrind_skin addrcheck" -xc valgrind -l leak-resolution -d "Determines how willingly Addrcheck considers different backtraces to be the same" -a "low\t'Two entries need to match' med\t'Four entries need to match' high\t'All entries need to match'"
|
||||
complete -n "__fish_valgrind_skin addrcheck" -xc valgrind -l freelist-vol -d "Set size of freed memory pool"
|
||||
complete -n "__fish_valgrind_skin addrcheck" -xc valgrind -l partial-loads-ok -d 'How to handle loads of words that are partially addressible' -a 'yes\t"Do not emit errors on partial loads" no\t"Emit errors on partial loads"'
|
||||
complete -n "__fish_valgrind_skin addrcheck" -xc valgrind -l avoid-strlen-errors -d 'Whether to skip error reporting for the strlen function' -a 'yes no'
|
||||
|
|
|
@ -73,8 +73,8 @@ complete -c wget -l proxy-password -d "Specify the proxy password" -x
|
|||
complete -c wget -l referer -d "Set referer URL" -x
|
||||
complete -c wget -l save-headers -d "Save the headers sent by the HTTP server"
|
||||
complete -c wget -s U -l user-agent -d "Identify as agent-string" -x
|
||||
complete -c wget -l post-data -d "Do HTTP POST requests and send the given string in the body" -x
|
||||
complete -c wget -l post-file -d "Do HTTP POST requests and send the contents of this file in the body" -r
|
||||
complete -c wget -l post-data -d "Use POST for all HTTP requests and send the specified data in the request body" -x
|
||||
complete -c wget -l post-file -d "Use POST for all HTTP requests and send the specified file in the request body" -r
|
||||
complete -c wget -l no-http-keep-alive -d "Turn off keep-alive for http downloads"
|
||||
|
||||
# HTTPS options
|
||||
|
|
Loading…
Reference in New Issue
Block a user