From f7966b3249cec31525f6eec16ccb9c1e4be4a71f Mon Sep 17 00:00:00 2001 From: Nunzarius Date: Mon, 21 Dec 2020 17:29:36 -0500 Subject: [PATCH] Added completions --- share/completions/fsharpc.fish | 26 +++++++++++++------------- share/completions/fsharpi.fish | 18 +++++++++--------- share/completions/tmux.fish | 6 +++--- share/completions/wesnoth.fish | 18 +++++++++--------- 4 files changed, 34 insertions(+), 34 deletions(-) diff --git a/share/completions/fsharpc.fish b/share/completions/fsharpc.fish index 5a4fbfd86..6d899735d 100644 --- a/share/completions/fsharpc.fish +++ b/share/completions/fsharpc.fish @@ -12,13 +12,13 @@ complete -c fsharpc -l delaysign- -d "Disable --delaysign" complete -c fsharpc -l "doc:" -d "Write the xmldoc of the assembly to the given file" complete -c fsharpc -l "keyfile:" -d "Specify a strong name key file" complete -c fsharpc -l "keycontainer:" -d "Specify a strong name key container" -complete -c fsharpc -l "platform:x86" -d "Limit the platform this code can run on to x86" -complete -c fsharpc -l "platform:Itanium" -d "Limit the platform this code can run on to Itanium" -complete -c fsharpc -l "platform:x64" -d "Limit the platform this code can run on to x64" -complete -c fsharpc -l "platform:anycpu32bitpreferred" -d "Limit the platform this code can run on to anycpu32bitpreferred" -complete -c fsharpc -l "platform:anycpu" -d "Limit the platform this code can run on to anycpu (default)" -complete -c fsharpc -l nooptimizationdata -d "Only include optimization information essential for implementing inlined constructs" -complete -c fsharpc -l nointerfacedata -d "Don't add a resource to the generated assembly containing F#-specific metadata" +complete -c fsharpc -l "platform:x86" -d "Limit the platform to x86" +complete -c fsharpc -l "platform:Itanium" -d "Limit the platform to Itanium" +complete -c fsharpc -l "platform:x64" -d "Limit the platform to x64" +complete -c fsharpc -l "platform:anycpu32bitpreferred" -d "Limit the platform to anycpu32bitpreferred" +complete -c fsharpc -l "platform:anycpu" -d "Limit the platform to anycpu (default)" +complete -c fsharpc -l nooptimizationdata -d "Only include optimization information for inlined constructs" +complete -c fsharpc -l nointerfacedata -d "Don't add a resource to the assembly containing F#-specific metadata" complete -c fsharpc -l "sig:" -d "Print the inferred interface of the assembly to a file" # Input files @@ -29,7 +29,7 @@ complete -c fsharpc -l "win32res:" -d "Specify a Win32 resource file (.res)" complete -c fsharpc -l "win32manifest:" -d "Specify a Win32 manifest file" complete -c fsharpc -l nowin32manifest -d "Do not include the default Win32 manifest" complete -c fsharpc -l "resource:" -d "Embed the specified managed resource" -complete -c fsharpc -l "linkresource:" -d "Link the specified resource to this assembly where the resinfo format is [,[,public|private]]" +complete -c fsharpc -l "linkresource:" -d "Link the specified resource to this assembly" # Code generation complete -c fsharpc -s g -o "g+" -l debug -l "debug+" -d "Emit debug information" @@ -42,7 +42,7 @@ complete -c fsharpc -s O -o "O+" -l optimize -l "optimize+" -d "Enable optimizat complete -c fsharpc -o O- -l optimize- -d "Disable --optimize" complete -c fsharpc -l tailcalls -l "tailcalls+" -d "Enable or disable tailcalls" complete -c fsharpc -l tailcalls- -d "Disable --tailcalls" -complete -c fsharpc -l deterministic -l "deterministic+" -d "Produce a deterministic assembly (including module version GUID and timestamp)" +complete -c fsharpc -l deterministic -l "deterministic+" -d "Produce a deterministic assembly" complete -c fsharpc -l deterministic- -d "Disable --deterministic" complete -c fsharpc -l crossoptimize -l "crossoptimize+" -d "Enable or disable cross-module optimizations" complete -c fsharpc -l crossoptimize- -d "Disable --crossoptimize" @@ -76,12 +76,12 @@ complete -c fsharpc -s "?" -l help -d "Display this usage message" complete -c fsharpc -l "codepage:" -d "Specify the codepage used to read source files" complete -c fsharpc -l utf8output -d "Output messages in UTF-8 encoding" complete -c fsharpc -l fullpaths -d "Output messages with fully qualified paths" -complete -c fsharpc -o "I:" -l "lib:" -d "Specify a directory for the include path which is used to resolve source files and assemblies" -complete -c fsharpc -l simpleresolution -d "Resolve assembly references using directory-based rules rather than MSBuild resolution" +complete -c fsharpc -o "I:" -l "lib:" -d "Specify a directory for include path for resolving source files and assemblies" +complete -c fsharpc -l simpleresolution -d "Resolve assembly references using directory-based rules" complete -c fsharpc -l "baseaddress:" -d "Base address for the library to be built" complete -c fsharpc -l noframework -d "Do not reference the default CLI assemblies by default" -complete -c fsharpc -l standalone -d "Statically link the F# library and all referenced DLLs that depend on it into the assembly being generated" -complete -c fsharpc -l "staticlink:" -d "Statically link the given assembly and all referenced DLLs that depend on this assembly" +complete -c fsharpc -l standalone -d "Statically link F# library and referenced DLLs into the generated assembly" +complete -c fsharpc -l "staticlink:" -d "Statically link the assembly and referenced DLLs that depend on this assembly" complete -c fsharpc -l "pdb:" -d "Name the output debug file" complete -c fsharpc -l highentropyva -l "highentropyva+" -d "Enable high-entropy ASLR" complete -c fsharpc -l highentropyva- -d "Disable --highentropyva" diff --git a/share/completions/fsharpi.fish b/share/completions/fsharpi.fish index 0611fc8e1..a69f94d7e 100644 --- a/share/completions/fsharpi.fish +++ b/share/completions/fsharpi.fish @@ -2,7 +2,7 @@ # See: https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/fsharp-interactive-options # Input files -complete -c fsharpi -l "use:" -d "Use the given file on startup as initial input" +complete -c fsharpi -l "use:" -d "Use the given file on startup" complete -c fsharpi -l "load:" -d "#load the given file on startup" complete -c fsharpi -o "r:" -l "reference:" -d "Reference an assembly" @@ -17,7 +17,7 @@ complete -c fsharpi -s O -o "O+" -l optimize -l "optimize+" -d "Enable optimizat complete -c fsharpi -o O- -l optimize- -d "Disable --optimize" complete -c fsharpi -l tailcalls -l "tailcalls+" -d "Enable or disable tailcalls" complete -c fsharpi -l tailcalls- -d "Disable --tailcalls" -complete -c fsharpi -l deterministic -l "deterministic+" -d "Produce a deterministic assembly (including module version GUID and timestamp)" +complete -c fsharpi -l deterministic -l "deterministic+" -d "Produce a deterministic assembly" complete -c fsharpi -l deterministic- -d "Disable --deterministic" complete -c fsharpi -l crossoptimize -l "crossoptimize+" -d "Enable or disable cross-module optimizations" complete -c fsharpi -l crossoptimize- -d "Disable --crossoptimize" @@ -51,17 +51,17 @@ complete -c fsharpi -s "?" -l help -d "Display this usage message" complete -c fsharpi -l "codepage:" -d "Specify the codepage used to read source files" complete -c fsharpi -l utf8output -d "Output messages in UTF-8 encoding" complete -c fsharpi -l fullpaths -d "Output messages with fully qualified paths" -complete -c fsharpi -o "I:" -l "lib:" -d "Specify a directory for the include path which is used to resolve source files and assemblies" -complete -c fsharpi -l simpleresolution -d "Resolve assembly references using directory-based rules rather than MSBuild resolution" -complete -c fsharpi -l "targetprofile:" -d "Specify target framework profile of this assembly. Valid values are mscorlib, netcore or netstandard. Default - mscorlib" +complete -c fsharpi -o "I:" -l "lib:" -d "Specify a dir for the include path for source files and assemblies" +complete -c fsharpi -l simpleresolution -d "Resolve assembly references using directory-based rules" +complete -c fsharpi -l "targetprofile:" -d "Specify target framework profile: mscorlib, netcore or netstandard" complete -c fsharpi -l noframework -d "Do not reference the default CLI assemblies by default" -complete -c fsharpi -l exec -d "Exit fsi after loading the files or running the .fsx script given on the command line" -complete -c fsharpi -l gui -l "gui+" -d "Execute interactions on a Windows Forms event loop (on by default)" +complete -c fsharpi -l exec -d "Exit fsi after loading files or running the .fsx script" +complete -c fsharpi -l gui -l "gui+" -d "Execute interactions on a Windows Forms event loop" complete -c fsharpi -l gui- -d "Disable --gui" complete -c fsharpi -l quiet -d "Suppress fsi writing to stdout" -complete -c fsharpi -l readline -l "readline+" -d "Support TAB completion in console (on by default)" +complete -c fsharpi -l readline -l "readline+" -d "Support TAB completion in console" complete -c fsharpi -l readline- -d "Disable --readline" complete -c fsharpi -l quotations-debug -l "quotations-debug+" -d "Emit debug information in quotations" complete -c fsharpi -l quotations-debug- -d "Disable --quotations-debug" -complete -c fsharpi -l shadowcopyreferences -l "shadowcopyreferences+" -d "Prevents references from being locked by the F# Interactive process" +complete -c fsharpi -l shadowcopyreferences -l "shadowcopyreferences+" -d "Prevents references being locked by the F# Interactive process" complete -c fsharpi -l shadowcopyreferences- -d "Disable --shadowcopyreferences" diff --git a/share/completions/tmux.fish b/share/completions/tmux.fish index 018ccc57e..3574f4d34 100644 --- a/share/completions/tmux.fish +++ b/share/completions/tmux.fish @@ -64,9 +64,9 @@ complete -c tmux -n "__fish_seen_subcommand_from $attach" -s r -d 'attach in rea complete -c tmux -n __fish_use_subcommand -a $detach -d 'detach current client' complete -c tmux -n "__fish_seen_subcommand_from $detach" -s P -d 'SIGHUP parent process of client, likely causing it to exit' -complete -c tmux -n __fish_use_subcommand -a $has -d 'report error and exit with 1 if the specified session does not exist' +complete -c tmux -n __fish_use_subcommand -a $has -d 'report error and exit with 1 if the session does not exist' complete -c tmux -n __fish_use_subcommand -a $killserver -d 'kill tmux server, clients, and sessions' -complete -c tmux -n __fish_use_subcommand -a $killsession -d 'destroy session, closing windows linked to it and no other sessions, detach all clients' +complete -c tmux -n __fish_use_subcommand -a $killsession -d 'destroy session, closing windows linked to it, and detach all clients' complete -c tmux -n __fish_use_subcommand -a $lsc -d 'list all attached clients' complete -c tmux -n __fish_use_subcommand -a $lscm -d 'list syntax for all tmux commands' complete -c tmux -n __fish_use_subcommand -a $ls -d 'list all sessions' @@ -76,7 +76,7 @@ complete -c tmux -n __fish_use_subcommand -a $locks -d 'lock session' complete -c tmux -n __fish_use_subcommand -a $new -d 'create a new session with name session-name' complete -c tmux -n "__fish_seen_subcommand_from $new" -s d -d "don't attach to current window" complete -c tmux -n "__fish_seen_subcommand_from $new" -s A -d "attach to existing session if session-name already exists" -complete -c tmux -n "__fish_seen_subcommand_from $new" -s D -d "if -A is specified, detach other clients attached to the session if it exists" +complete -c tmux -n "__fish_seen_subcommand_from $new" -s D -d "if -A is specified, detach other clients attached to the session" complete -c tmux -n "__fish_seen_subcommand_from $new" -s P -d "print information about the new session after creation" complete -c tmux -n "__fish_seen_subcommand_from $new" -s E -d "don't apply update-environment option" complete -c tmux -n "__fish_seen_subcommand_from $new" -xs c -d start-directory diff --git a/share/completions/wesnoth.fish b/share/completions/wesnoth.fish index ea1b65f99..bfcba9b90 100644 --- a/share/completions/wesnoth.fish +++ b/share/completions/wesnoth.fish @@ -2,13 +2,13 @@ # http://www.wesnoth.org/ complete -c wesnoth -l bpp -d 'Number sets BitsPerPixel value' -complete -c wesnoth -l compress -d ' compresses a savefile (infile) that is in text WML format into binary WML format (outfile)' -complete -c wesnoth -s d -l debug -d 'Shows extra debugging information and enables additional command mode options in-game' -complete -c wesnoth -l decompress -d ' decompresses a savefile (infile) that is in binary WML format into text WML format (outfile)' +complete -c wesnoth -l compress -d ' compress a savefile from text to binary format' +complete -c wesnoth -s d -l debug -d 'Shows extra debugging information' +complete -c wesnoth -l decompress -d ' decompress a savefile from binary to text format' complete -c wesnoth -s f -l fullscreen -d 'Runs the game in full screen mode' -complete -c wesnoth -l fps -d 'Displays the number of frames per second the game is currently running at, in a corner of the screen' -complete -c wesnoth -s h -l help -d 'Displays a summary of command line options to standard output, and exits' -complete -c wesnoth -l load -d 'Savegame loads the file savegame from the standard save game directory' +complete -c wesnoth -l fps -d 'Shows frames per second' +complete -c wesnoth -s h -l help -d 'Display a summary of command line options' +complete -c wesnoth -l load -d 'Loads the file savegame from the standard save game directory' complete -c wesnoth -l log-error -l log-warning -l log-info -d 'Set the severity level of debugging domains' complete -c wesnoth -l multiplayer -d 'Runs a multiplayer game' complete -c wesnoth -l nocache -d 'Disables caching of game data' @@ -19,10 +19,10 @@ complete -c wesnoth -s t -l test -d 'Runs the game in a small test scenario' complete -c wesnoth -s v -l version -d 'Shows the version number and exits' complete -c wesnoth -s w -l windowed -d 'Runs the game in windowed mode' complete -c wesnoth -l no-delay -d 'Runs the game without any delays for graphic benchmarking' -complete -c wesnoth -l exit-at-end -d 'Exits once the scenario is over, without displaying victory/defeat dialog which requires the user to click OK' -complete -c wesnoth -l algorithm -d 'Selects a non-standard algorithm to be used by the AI controller for this side' +complete -c wesnoth -l exit-at-end -d 'Exits once the scenario is over, without displaying dialog' +complete -c wesnoth -l algorithm -d 'Selects a non-standard algorithm to be used by the AI controller' complete -c wesnoth -l controller -d 'Selects the controller for this side' -complete -c wesnoth -l era -d 'Use this option to play in the selected era instead of the "Default" era' +complete -c wesnoth -l era -d 'Use this option to play in the selected era' complete -c wesnoth -l nogui -d 'Runs the game without the GUI' complete -c wesnoth -l parm -d 'Sets additional parameters for this side' complete -c wesnoth -l scenario -d 'Selects a multiplayer scenario'