Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
VGLBitmapAllocateBits(3), VGLBitmapCopy(3), VGLBitmapCreate(3), VGLBitmapDestroy(3), VGLBitmapPutChar(3), VGLBitmapString(3), VGLBlankDisplay(3), VGLBox(3), VGLCheckSwitch(3), VGLClear(3), VGLEllipse(3), VGLEnd(3), VGLFilledBox(3), VGLFilledEllipse(3), VGLGetXY(3), VGLInit(3), VGLLine(3), VGLKeyboardInit(3), VGLKeyboardEnd(3), VGLKeyboardGetCh(3), VGLMouseInit(3), VGLMouseMode(3), VGLMouseSetImage(3), VGLMouseSetStdImage(3), VGLMouseStatus(3), VGLPanScreen(3), VGLSetBorder(3), VGLSetPalette(3), VGLSetPaletteIndex(3), VGLSetVScreenSize(3), VGLSetXY(3), VGLTextSetFontFile(3)
Video Graphics Library functions
adm6996fc(4)
driver for Infineon ADM6996FC fast ethernet switch chip
builtin(1), !(1), %(1), .(1), :(1), @(1), [(1), {(1), }(1), alias(1), alloc(1), bg(1), bind(1), bindkey(1), break(1), breaksw(1), builtins(1), case(1), cd(1), chdir(1), command(1), complete(1), continue(1), default(1), dirs(1), do(1), done(1), echo(1), echotc(1), elif(1), else(1), end(1), endif(1), endsw(1), esac(1), eval(1), exec(1), exit(1), export(1), false(1), fc(1), fg(1), filetest(1), fi(1), for(1), foreach(1), getopts(1), glob(1), goto(1), hash(1), hashstat(1), history(1), hup(1), if(1), jobid(1), jobs(1), kill(1), limit(1), local(1), log(1), login(1), logout(1), ls-F(1), nice(1), nohup(1), notify(1), onintr(1), popd(1), printenv(1), printf(1), pushd(1), pwd(1), read(1), readonly(1), rehash(1), repeat(1), return(1), sched(1), set(1), setenv(1), settc(1), setty(1), setvar(1), shift(1), source(1), stop(1), suspend(1), switch(1), telltc(1), test(1), then(1), time(1), times(1), trap(1), true(1), type(1), ulimit(1), umask(1), unalias(1), uncomplete(1), unhash(1), unlimit(1), unset(1), unsetenv(1), until(1), wait(1), where(1), which(1), while(1)
shell built-in commands
e6060sw(4)
driver for Marvell 88E6060 and 88E6065 fast ethernet switch chip
etherswitch(4)
Ethernet switch framework
etherswitchcfg(8)
configure a built-in Ethernet switch
kswitch(1)
switch between default credential caches
ksz8995ma(4)
driver for Micrel KSZ8995MA fast ethernet switch chip
mi_switch(9), cpu_switch(9), cpu_throw(9)
switch to another thread context
nsdispatch(3)
name-service switch dispatcher routine
nsswitch.conf(5)
name-service switch configuration file
pthread_multi_np(3), pthread_single_np(3)
switch between multi- and single-threaded scheduling modes
pthread_switch_add_np(3), pthread_switch_delete_np(3)
thread context switches debugging primitives
valectl(8)
manage VALE switches provided by netmap
3ddesk(1)
activates 3D-Desktop, a 3D desktop switcher
3ddeskd(1)
starts the daemon for 3D-Desktop, a 3D desktop switcher
CURLOPT_FTP_SSL_CCC(3)
switch off SSL again with FTP after auth
CURLOPT_NOPROGRESS(3)
switch off the progress meter
DS2405(3)
Addressable Switch
DS2406(3), DS2407(3)
Dual Addressable Switch with 1kbit Memory, Hidable Dual Addressable Switch with 1kbit Memory
DS2408(3)
1-Wire 8 Channel Addressable Switch
DS2413(3)
Dual Channel Addressable Switch
InfernoEmbedded(3), InfernoEmbedded Softdevices(3)
RGBW Controllers - Switch Masters - Firmware Updater
UVI(3), Moisture(3), Barometer(3), HUB(3)
HobbyBoards EE/EF Microprocessor-based slaves: Ultra Violet (UV) Index sensor, Soil and Leaf moisture measurements, Barometer, 4-channel hub with switchable branches
XF86VidModeQueryExtension(3), XF86VidModeQueryVersion(3), XF86VidModeSetClientVersion(3), XF86VidModeGetModeLine(3), XF86VidModeGetAllModeLines(3), XF86VidModeAddModeLine(3), XF86VidModeDeleteModeLine(3), XF86VidModeModModeLine(3), XF86VidModeValidateModeLine(3), XF86VidModeSwitchMode(3), XF86VidModeSwitchToMode(3), XF86VidModeLockModeSwitch(3), XF86VidModeGetMonitor(3), XF86VidModeGetViewPort(3), XF86VidModeSetViewPort(3), XF86VidModeGetDotClocks(3), XF86VidModeGetGamma(3), XF86VidModeSetGamma(3), XF86VidModeGetGammaRamp(3), XF86VidModeSetGammaRamp(3), XF86VidModeGetGammaRampSize(3), XF86VidModeGetPermissions(3)
Extension library for the XFree86-VidMode X extension
alttab(1)
the task switcher
apcpwr(8)
control power on/off/reboot via an APC MasterSwitch
arpspoof(8)
intercept packets on a switched LAN
bmp_read_line(3)
Direct access bank switching line selection for reading. Allegro game programming library
bmp_unwrite_line(3)
Direct access bank switching line release. Allegro game programming library
bmp_write_line(3)
Direct access bank switching line selection for writing. Allegro game programming library
explain_acct_or_die(3)
switch process accounting on or off and report errors require_index { "switch process accounting on or off and report errors" }
exswitch(3)
Controlling the console switch mode for background running. Allegro game programming library
faxlock(8c)
tell a server to switch to LOCKWAIT state
get_display_switch_mode(3)
Returns the current display switching mode. Allegro game programming library
git-annex-direct(1)
switch repository to direct mode (deprecated)
git-annex-indirect(1)
switch repository to indirect mode (deprecated)
git-annex-migrate(1)
switch data to different backend
git-annex-vcycle(1)
switch view to next layout
git-annex-vpop(1)
switch back to previous view
git-checkout(1)
Switch branches or restore working tree files
git-switch(1)
Switch branches
gxkb(1)
X11 keyboard indicator and switcher
gxneur(1)
GTK frontend for xneur keyboard layout switcher
image_texfilter(3), image_texfilter (3)
Switch object video filtering mode
inputanalog_toggle(3), inputanalog_toggle (3)
Switch all analog device processing on/off
javavm(1)
convenient wrapper for switching Java VMs
knet_host_get_policy(3)
Get the switching policy for a host's links
knet_host_set_policy(3)
Set the switching policy for a host's links
kswitch(1)
switch primary ticket cache rst2man-indent-level 0 1 rstReportMargin \$1
lat_ctx(8)
context switching benchmark
libowfat_array_fail(3), array_fail(3)
switch array to have failed
libowfat_io_block(3), io_block(3)
switch to blocking I/O
libowfat_io_nonblock(3), io_nonblock(3)
switch to non-blocking I/O
llvm-addr2line90(1), llvm-addr2line(1)
a drop-in replacement for addr2line # llvm-addr2line - a drop-in replacement for addr2line ## SYNOPSIS llvm-addr2line [options] ## DESCRIPTION llvm-addr2line is an alias for the [llvm-symbolizer](llvm-symbolizer) tool with different defaults. The goal is to make it a drop-in replacement for GNU(aqs addr2line. Here are some of those differences: 0.0 (bu 2 Defaults not to print function names. Use [-f](llvm-symbolizer-opt-f) to enable that. (bu 2 Defaults not to demangle function names. Use [-C](llvm-symbolizer-opt-C) to switch the demangling on. (bu 2 Defaults not to print inlined frames. Use [-i](llvm-symbolizer-opt-i) to show inlined frames for a source code location in an inlined function. (bu 2 Uses [--output-style=GNU](llvm-symbolizer-opt-output-style) by default. ## SEE ALSO Refer to [llvm-symbolizer](llvm-symbolizer) for additional information
ltversion(1)
switch between different versions of LessTif sets
lxappearance(1)
GTK+ theme switcher
macof(8)
flood a switched LAN with random MAC addresses
nss_ndb(8)
BerkeleyDB nsswitch backend for passwd and group data
nss_ndb.conf(5)
BerkeleyDB nsswitch backend configuration file
nsstest(8)
test nsswitch (and nss_ndb) functionality
opam-switch(1), opamN'45'switch(1)
N'45' Manage multiple installation prefixesN'46'
ovs-actions(7)
OpenFlow actions and instructions with Open vSwitch extensions
ovs-bugtool(8)
Open vSwitch bug reporting utility
ovs-dpctl(8)
administer Open vSwitch datapaths
ovs-fields(7)
protocol header fields in OpenFlow and Open vSwitch
ovs-ofctl(8)
administer OpenFlow switches
ovs-vsctl(8)
utility for querying and configuring ovs-vswitchd
ovs-vswitchd(8)
Open vSwitch daemon
ovs-vswitchd.conf.db(5), ovs-vswitchd[char46]conf[char46]db(5)
Open_vSwitch database schema A database with this schema holds the configuration for one Open vSwitch daemon[char46] The top-level configuration for the daemon is the Open_vSwitch table, which must have exactly one record[char46] Records in other tables are significant only when they can be reached directly or indirectly from the Open_vSwitch table[char46] Records that are not reachable from the Open_vSwitch table are automatically deleted from the database, except for records in a few distinguished ``root set(cq(cq tables[char46]
ovsdb-server(1)
Open vSwitch database server
ovsdb-tool(1)
Open vSwitch database management utility
pvm_setrbuf(3)
Switches the active receive buffer and saves the previous buffer
pvm_setsbuf(3)
Switches the active send buffer
reallocate_voice(3)
Switches the sample of an already-allocated voice. Allegro game programming library
recordtarget_gain(3), recordtarget_gain (3)
Switch mixing weights and stereo panning for audio sources in a recordtarget
remove_display_switch_callback(3)
Removes a switching notification callback. Allegro game programming library
request_refresh_rate(3)
Requests a specific refresh rate during graphic mode switch. Allegro game programming library
rofi(1)
A window switcher, application launcher, ssh dialog and dmenu replacement
rwfglob(1)
Print files that rwfilter's File Selection switches will access
set_display_switch_callback(3)
Installs a switching notification callback. Allegro game programming library
set_display_switch_mode(3)
Tells Allegro how the program handles background switching
slick-greeter-set-keyboard-layout(1)
switch keyboard layout
switch-link(1)
retarget symlinks based on the extension of their targets
switch.tcl85(n), switch(n)
Evaluate one of several scripts, depending on a given value
switch.tcl86(n), switch(n)
Evaluate one of several scripts, depending on a given value
switch.tcl87(n), switch(n)
Evaluate one of several scripts, depending on a given value
switch2(1), gtk-theme-switch(1)
fast and easy tool for switching and installing GTK themes
switchBashZsh(1)
Portable shell switching between Bash and Zsh
switch_default_blendmode(3), switch_default_blendmode (3)
Change the blend operation set as default on all new objects
switch_default_imageproc(3), switch_default_imageproc (3)
Set the default image post-processing mode
switch_default_scalemode(3), switch_default_scalemode (3)
Change the default scale-mode for newly loaded images
switch_default_texfilter(3), switch_default_texfilter (3)
Switch the default texture filtering mode for all newly created objects
switch_default_texmode(3), switch_default_texmode (3)
Switch how the associated texture storage should treat coordinates outside the [0..1] range
target_graphmode(3), target_graphmode (3)
Switch graphing mode for target frameserver
target_portconfig(3), target_portconfig (3)
Request that the target frameserver switch input configuration mode for a specific port
toggle_mouse_grab(3), toggle_mouse_grab (3)
Switch the lock state of the mouse device
twoftpd-switch(1)
TwoFTPD back-end switcher
usb_modeswitch(1)
control the mode of 'multi-state' USB devices
vde_l3(1)
Virtual Distributed Ethernet 'Layer 3' Switch
vde_switch(1)
Virtual Distributed Ethernet switch
vga_lockvc(3)
disables virtual console switching for safety
vga_setlinearaddressing(3)
switch to linear addressing mode
vga_unlockvc(3)
re-enables virtual console switching
video_3dorder(3), video_3dorder (3)
Switch when, in relation to the 2d pipeline, 3d processing should be active
vtep(5)
hardware_vtep database schema This schema specifies relations that a VTEP can use to integrate physical ports into logical switches maintained by a network virtualization controller such as NSX[char46] Glossary: VTEP VXLAN Tunnel End Point, an entity which originates and/or terminates VXLAN tunnels[char46] HSC Hardware Switch Controller[char46] NVC Network Virtualization Controller, e[char46]g[char46] NSX[char46] VRF Virtual Routing and Forwarding instance[char46]
winbindd(8)
Name Service Switch daemon for resolving names from NT servers
xrus(1)
X localized keyboard switch and autolock
xxkb(1)
switches and indicates a current keyboard layout
yaggo(1)
command line switch parser generator
z80-memory(3), init_banks(|)(3), reset_banks(|)(3), bank_port(|)(3), switch_bank(|)(3), clear_memory(|)(3), memory_at(|)(3), read_addr(|)(3), read_memo(|)(3), write_memo(|)(3), write_to_memory(!)(3), dma_write(|)(3), dma_read(|)(3)
total memory access
Cisco::UCS::Common::SwitchCard(3)
Class for operations with a Cisco UCS switch card
Gantry::Conf::FAQ(3)
Frequently Asked Questions regarding Gantry::Conf "Why should I use Gantry::Conf at all?" 4 Item "Why should I use Gantry::Conf at all?" There are many reasons why we feel Gantry::Conf is helpful both during development and after deployment. The next two entries should hopefully answer this question for you as they outline a few common scenarios programmers and system administrators often face. "How is Gantry::Conf helpful during development?" 4 Item "How is Gantry::Conf helpful during development?" "Easy separation of development configs from production configs" 4 Item "Easy separation of development configs from production configs" Often programmers have a separate development environment from their production environment. By using <shared> blocks and dev instances you can avoid spending any serious time setting up your application in the development environment. Take this configuration example: <shared dev> dbuser nobody dbpass secret dbconn "dbi:Pg:dbname=dev" </shared> <shared production> dbuser apache dbpass secret2 dbconn "dbi:Pg:dbname=production" </shared> <instance app1> ConfigureVia FlatFile Config::General /etc/apps/app1.conf use production </instance> <instance app1-dev> ConfigureVia FlatFile Config::General /etc/apps/app1.conf use dev </instance> By separating out our production and dev database information into shared blocks we can essentially switch between our production and dev environments by simply changing the instance we are using. If you were working on a script this would be a simple matter of running: $ script.pl --instance=app1-dev instead of: $ script.pl --instance=app1 "How is Gatnry::Conf helpful in production?" 4 Item "How is Gatnry::Conf helpful in production?" Gantry::Conf has several advantages in a production environment. First, it provides a single place for all config information, if you commit to it. Even if you don't commit to it for all apps, it still provides control to the installing admin over how and where conf information is stored. For instance, the admin could put the config information directly into /etc/gantry.conf, or into a separate file in /etc/gantry.d. She could even set up a secure web server where all boxes would go to get their conf. The short answer is, Gantry::Conf is flexible and production environments benefit from flexibility. "How do I pass my instance information into my application?" 4 Item "How do I pass my instance information into my application?" There are many possible ways to do this a few of which are: "Command line arguments" 4 Item "Command line arguments" If your application accepts arguments on the command line we suggest adding an --instance option to pass in the instance's name. "PerlSetVar" 4 Item "PerlSetVar" In a mod_perl environment you could use a PerlSetVar, possibly named GantryConfInstance, to pull in this value for your application. "ModPerl::ParamBuilder" 4 Item "ModPerl::ParamBuilder" Again in a mod_perl environment, another option would be to use ModPerl::ParamBuilder to pass the instance name. "Hard coded" 4 Item "Hard coded" We include this for the sake of completeness, but advise against it. You could always simply hard code your instance information into your application, but this will greatly reduce the flexibility you have. "How do I add a different provider for an existing ConfigVia method?" 4 Item "How do I add a different provider for an existing ConfigVia method?" Place your provider module in the Gantry::Conf::Provider::Method::* namespace. Make sure your public API matches the existing providers which use the same method. For instance the flat file providers all implement a config method which is called as a class method and receives a file name. "How do I add to the ConfigVia methods?" 4 Item "How do I add to the ConfigVia methods?" If none of the existing provider methods will do, you need to work in Gantry::Conf. In particular, you need to augment the dispatch hash with the name of your provisioning method and a sub name which will handle it. Then you need to implement the method you put in %dispatch
Getopt::Long::Descriptive::Opts(3)
object representing command line switches
Getopt::Std(3)
Process single-character switches with switch clustering
Net::DRI::DRD::SWITCH(3)
SWITCH (.CH/.LI) policies for Net::DRI
Net::DRI::Data::Contact::SWITCH(3)
Handle .CH/.LI contact data for Net::DRI
Net::DRI::Protocol::EPP::Extensions::SWITCH(3)
.CH/.LI EPP extensions for Net::DRI
PPI::Structure::Given(3)
Circular braces for a switch statement
PPIx::Regexp::Structure::Switch(3)
Represent a switch
PPIx::Regexp::Token::Condition(3)
Represent the condition of a switch
PPIx::Regexp::Token::GroupType::Switch(3)
Represent the introducing characters for a switch
SNMP::Info::Airespace(3)
SNMP Interface to data from AIRESPACE-WIRELESS-MIB and AIRESPACE-SWITCHING-MIB
SNMP::Info::Layer2::3Com(3)
SNMP Interface to L2 3Com Switches
SNMP::Info::Layer2::Allied(3)
SNMP Interface to Allied Telesis switches
SNMP::Info::Layer2::Baystack(3)
SNMP Interface to Avaya Ethernet Switch (Baystack) and VSP 7000 series switches
SNMP::Info::Layer2::C1900(3)
SNMP Interface to data from Cisco Catalyst 1900 Network Switches running CatOS
SNMP::Info::Layer2::C2900(3)
SNMP Interface to Cisco Catalyst 2900 Switches running IOS
SNMP::Info::Layer2::Centillion(3)
SNMP Interface to Nortel Centillion based ATM Switches
SNMP::Info::Layer2::HP(3)
SNMP Interface to HP Procurve Switches
SNMP::Info::Layer2::HP4000(3)
SNMP Interface to older HP ProCurve Switches (1600, 2400, 2424M, 4000 and 8000)
SNMP::Info::Layer2::HPVC(3)
SNMP Interface to HP Virtual Connect Switches
SNMP::Info::Layer2::N2270(3)
SNMP Interface to Nortel 2270 Series Wireless Switch
SNMP::Info::Layer2::Netgear(3)
SNMP Interface to Netgear switches
SNMP::Info::Layer2::Sixnet(3)
SNMP Interface to Sixnet industrial switches
SNMP::Info::Layer3::AlcatelLucent(3)
SNMP Interface to Alcatel-Lucent OmniSwitch
SNMP::Info::Layer3::AlteonAD(3)
SNMP Interface to Radware Alteon ADC Switches
SNMP::Info::Layer3::Aruba(3)
SNMP Interface to Aruba wireless switches
SNMP::Info::Layer3::C3550(3)
SNMP Interface to Cisco Catalyst 3550 Layer 2/3 Switches running IOS
SNMP::Info::Layer3::C4000(3)
SNMP Interface to Cisco Catalyst 4000 Layer 2/3 Switches running IOS
SNMP::Info::Layer3::C6500(3)
SNMP Interface to Cisco Catalyst 6500 Layer 2/3 Switches running IOS and/or CatOS. Also Cisco Catalyst 2960, 2970, 3750 and 3850 series and blade switch CBS30x0 and CBS31x0 series running IOS
SNMP::Info::Layer3::CiscoSwitch(3)
Base class for L3 Cisco switches
SNMP::Info::Layer3::Contivity(3)
SNMP Interface to Avaya/Nortel VPN Routers (formerly Contivity Extranet Switches)
SNMP::Info::Layer3::Huawei(3)
SNMP Interface to Huawei switches and routers
SNMP::Info::Layer3::IBMGbTor(3)
SNMP Interface to Lenovo/IBM Rackswitch devices
SNMP::Info::Layer3::Lenovo(3)
SNMP Interface to Lenovo switches running CNOS
SNMP::Info::Layer3::Nexus(3)
SNMP Interface to Cisco Nexus Switches running NX-OS
SNMP::Info::Layer3::Passport(3)
SNMP Interface to modular Avaya Ethernet Routing Switch 8000 Series and VSP 9000 Series switches
SNMP::Info::Layer3::Scalance(3)
SNMP Interface to Siemens Scalance Switches
SVK::Command::Switch(3)
Switch to another branch and keep local changes
SVN::S4::Debug(3)
Allow debug messages to be easily switched on and off
Switch(3)
A switch statement for Perl, do not use if you can use given/when
Tk::demos::widget_lib::slide(3), Tk::SlideSwitch(3)
a 2 position horizontal or vertical switch
WebService::GData::YouTube::StagingServer(3)
switch to the staging server
XML::Filter::Tee(3)
Send SAX events to multiple processor, with switching
certbot(1)
certbot script documentation 0.0 3.5 C usage: certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ... Certbot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing the certificate. The most common SUBCOMMANDS and flags are: obtain, install, and renew certificates: (default) run Obtain & install a certificate in your current webserver certonly Obtain or renew a certificate, but do not install it renew Renew all previously obtained certificates that are near expiry enhance Add security enhancements to your existing configuration -d DOMAINS Comma-separated list of domains to obtain a certificate for --apache Use the Apache plugin for authentication & installation --standalone Run a standalone webserver for authentication --nginx Use the Nginx plugin for authentication & installation --webroot Place files in a server(aqs webroot folder for authentication --manual Obtain certificates interactively, or using shell script hooks -n Run non-interactively --test-cert Obtain a test certificate from a staging server --dry-run Test "renew" or "certonly" without saving any certificates to disk manage certificates: certificates Display information about certificates you have from Certbot revoke Revoke a certificate (supply --cert-name or --cert-path) delete Delete a certificate (supply --cert-name) manage your account: register Create an ACME account unregister Deactivate an ACME account update_account Update an ACME account --agree-tos Agree to the ACME server(aqs Subscriber Agreement -m EMAIL Email address for important account notifications optional arguments: -h, --help show this help message and exit -c CONFIG_FILE, --config CONFIG_FILE path to config file (default: /etc/letsencrypt/cli.ini and ~/.config/letsencrypt/cli.ini) -v, --verbose This flag can be used multiple times to incrementally increase the verbosity of output, e.g. -vvv. (default: -2) --max-log-backups MAX_LOG_BACKUPS Specifies the maximum number of backup logs that should be kept by Certbot(aqs built in log rotation. Setting this flag to 0 disables log rotation entirely, causing Certbot to always append to the same log file. (default: 1000) -n, --non-interactive, --noninteractive Run without ever asking for user input. This may require additional command line flags; the client will try to explain which ones are required if it finds one missing (default: False) --force-interactive Force Certbot to be interactive even if it detects it(aqs not being run in a terminal. This flag cannot be used with the renew subcommand. (default: False) -d DOMAIN, --domains DOMAIN, --domain DOMAIN Domain names to apply. For multiple domains you can use multiple -d flags or enter a comma separated list of domains as a parameter. The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate. The first domain will also be used in some software user interfaces and as the file paths for the certificate and related material unless otherwise specified or you already have a certificate with the same name. In the case of a name collision it will append a number like 0001 to the file path name. (default: Ask) --eab-kid EAB_KID Key Identifier for External Account Binding (default: None) --eab-hmac-key EAB_HMAC_KEY HMAC key for External Account Binding (default: None) --cert-name CERTNAME Certificate name to apply. This name is used by Certbot for housekeeping and in file paths; it doesn(aqt affect the content of the certificate itself. To see certificate names, run (aqcertbot certificates(aq. When creating a new certificate, specifies the new certificate(aqs name. (default: the first provided domain or the name of an existing certificate on your system for the same domains) --dry-run Perform a test run of the client, obtaining test (invalid) certificates but not saving them to disk. This can currently only be used with the (aqcertonly(aq and (aqrenew(aq subcommands. Note: Although --dry-run tries to avoid making any persistent changes on a system, it is not completely side-effect free: if used with webserver authenticator plugins like apache and nginx, it makes and then reverts temporary config changes in order to obtain test certificates, and reloads webservers to deploy and then roll back those changes. It also calls --pre-hook and --post-hook commands if they are defined because they may be necessary to accurately simulate renewal. --deploy- hook commands are not called. (default: False) --debug-challenges After setting up challenges, wait for user input before submitting to CA (default: False) --preferred-chain PREFERRED_CHAIN If the CA offers multiple certificate chains, prefer the chain whose topmost certificate was issued from this Subject Common Name. If no match, the default offered chain will be used. (default: None) --preferred-challenges PREF_CHALLS A sorted, comma delimited list of the preferred challenge to use during authorization with the most preferred challenge listed first (Eg, "dns" or "http,dns"). Not all plugins support all challenges. See https://certbot.eff.org/docs/using.html#plugins for details. ACME Challenges are versioned, but if you pick "http" rather than "http-01", Certbot will select the latest version automatically. (default: []) --user-agent USER_AGENT Set a custom user agent string for the client. User agent strings allow the CA to collect high level statistics about success rates by OS, plugin and use case, and to know when to deprecate support for past Python versions and flags. If you wish to hide this information from the Let(aqs Encrypt server, set this to "". (default: CertbotACMEClient/1.15.0 (certbot; OS_NAME OS_VERSION) Authenticator/XXX Installer/YYY (SUBCOMMAND; flags: FLAGS) Py/major.minor.patchlevel). The flags encoded in the user agent are: --duplicate, --force-renew, --allow-subset-of-names, -n, and whether any hooks are set. --user-agent-comment USER_AGENT_COMMENT Add a comment to the default user agent string. May be used when repackaging Certbot or calling it from another tool to allow additional statistical data to be collected. Ignored if --user-agent is set. (Example: Foo-Wrapper/1.0) (default: None) automation: Flags for automating execution & other tweaks --keep-until-expiring, --keep, --reinstall If the requested certificate matches an existing certificate, always keep the existing one until it is due for renewal (for the (aqrun(aq subcommand this means reinstall the existing certificate). (default: Ask) --expand If an existing certificate is a strict subset of the requested names, always expand and replace it with the additional names. (default: Ask) --version show program(aqs version number and exit --force-renewal, --renew-by-default If a certificate already exists for the requested domains, renew it now, regardless of whether it is near expiry. (Often --keep-until-expiring is more appropriate). Also implies --expand. (default: False) --renew-with-new-domains If a certificate already exists for the requested certificate name but does not match the requested domains, renew it now, regardless of whether it is near expiry. (default: False) --reuse-key When renewing, use the same private key as the existing certificate. (default: False) --allow-subset-of-names When performing domain validation, do not consider it a failure if authorizations can not be obtained for a strict subset of the requested domains. This may be useful for allowing renewals for multiple domains to succeed even if some domains no longer point at this system. This option cannot be used with --csr. (default: False) --agree-tos Agree to the ACME Subscriber Agreement (default: Ask) --duplicate Allow making a certificate lineage that duplicates an existing one (both can be renewed in parallel) (default: False) -q, --quiet Silence all output except errors. Useful for automation via cron. Implies --non-interactive. (default: False) security: Security parameters & server settings --rsa-key-size N Size of the RSA key. (default: 2048) --key-type {rsa,ecdsa} Type of generated private key(Only *ONE* per invocation can be provided at this time) (default: rsa) --elliptic-curve N The SECG elliptic curve name to use. Please see RFC 8446 for supported values. (default: secp256r1) --must-staple Adds the OCSP Must Staple extension to the certificate. Autoconfigures OCSP Stapling for supported setups (Apache version >= 2.3.3 ). (default: False) --redirect Automatically redirect all HTTP traffic to HTTPS for the newly authenticated vhost. (default: redirect enabled for install and run, disabled for enhance) --no-redirect Do not automatically redirect all HTTP traffic to HTTPS for the newly authenticated vhost. (default: redirect enabled for install and run, disabled for enhance) --hsts Add the Strict-Transport-Security header to every HTTP response. Forcing browser to always use SSL for the domain. Defends against SSL Stripping. (default: None) --uir Add the "Content-Security-Policy: upgrade-insecure- requests" header to every HTTP response. Forcing the browser to use https:// for every http:// resource. (default: None) --staple-ocsp Enables OCSP Stapling. A valid OCSP response is stapled to the certificate that the server offers during TLS. (default: None) --strict-permissions Require that all configuration files are owned by the current user; only needed if your config is somewhere unsafe like /tmp/ (default: False) --auto-hsts Gradually increasing max-age value for HTTP Strict Transport Security security header (default: False) testing: The following flags are meant for testing and integration purposes only. --test-cert, --staging Use the staging server to obtain or revoke test (invalid) certificates; equivalent to --server https://acme-staging-v02.api.letsencrypt.org/directory (default: False) --debug Show tracebacks in case of errors (default: False) --no-verify-ssl Disable verification of the ACME server(aqs certificate. (default: False) --http-01-port HTTP01_PORT Port used in the http-01 challenge. This only affects the port Certbot listens on. A conforming ACME server will still attempt to connect on port 80. (default: 80) --http-01-address HTTP01_ADDRESS The address the server listens to during http-01 challenge. (default: ) --https-port HTTPS_PORT Port used to serve HTTPS. This affects which port Nginx will listen on after a LE certificate is installed. (default: 443) --break-my-certs Be willing to replace or renew valid certificates with invalid (testing/staging) certificates (default: False) paths: Flags for changing execution paths & servers --cert-path CERT_PATH Path to where certificate is saved (with certonly --csr), installed from, or revoked (default: None) --key-path KEY_PATH Path to private key for certificate installation or revocation (if account key is missing) (default: None) --fullchain-path FULLCHAIN_PATH Accompanying path to a full certificate chain (certificate plus chain). (default: None) --chain-path CHAIN_PATH Accompanying path to a certificate chain. (default: None) --config-dir CONFIG_DIR Configuration directory. (default: /etc/letsencrypt) --work-dir WORK_DIR Working directory. (default: /var/lib/letsencrypt) --logs-dir LOGS_DIR Logs directory. (default: /var/log/letsencrypt) --server SERVER ACME Directory Resource URI. (default: https://acme-v02.api.letsencrypt.org/directory) manage: Various subcommands and flags are available for managing your certificates: certificates List certificates managed by Certbot delete Clean up all files related to a certificate renew Renew all certificates (or one specified with --cert- name) revoke Revoke a certificate specified with --cert-path or --cert-name update_symlinks Recreate symlinks in your /etc/letsencrypt/live/ directory run: Options for obtaining & installing certificates certonly: Options for modifying how a certificate is obtained --csr CSR Path to a Certificate Signing Request (CSR) in DER or PEM format. Currently --csr only works with the (aqcertonly(aq subcommand. (default: None) renew: The (aqrenew(aq subcommand will attempt to renew all certificates (or more precisely, certificate lineages) you have previously obtained if they are close to expiry, and print a summary of the results. By default, (aqrenew(aq will reuse the options used to create obtain or most recently successfully renew each certificate lineage. You can try it with (ga--dry-run(ga first. For more fine-grained control, you can renew individual lineages with the (gacertonly(ga subcommand. Hooks are available to run commands before and after renewal; see https://certbot.eff.org/docs/using.html#renewal for more information on these. --pre-hook PRE_HOOK Command to be run in a shell before obtaining any certificates. Intended primarily for renewal, where it can be used to temporarily shut down a webserver that might conflict with the standalone plugin. This will only be called if a certificate is actually to be obtained/renewed. When renewing several certificates that have identical pre-hooks, only the first will be executed. (default: None) --post-hook POST_HOOK Command to be run in a shell after attempting to obtain/renew certificates. Can be used to deploy renewed certificates, or to restart any servers that were stopped by --pre-hook. This is only run if an attempt was made to obtain/renew a certificate. If multiple renewed certificates have identical post- hooks, only one will be run. (default: None) --deploy-hook DEPLOY_HOOK Command to be run in a shell once for each successfully issued certificate. For this command, the shell variable $RENEWED_LINEAGE will point to the config live subdirectory (for example, "/etc/letsencrypt/live/example.com") containing the new certificates and keys; the shell variable $RENEWED_DOMAINS will contain a space-delimited list of renewed certificate domains (for example, "example.com www.example.com" (default: None) --disable-hook-validation Ordinarily the commands specified for --pre- hook/--post-hook/--deploy-hook will be checked for validity, to see if the programs being run are in the $PATH, so that mistakes can be caught early, even when the hooks aren(aqt being run just yet. The validation is rather simplistic and fails if you use more advanced shell constructs, so you can use this switch to disable it. (default: False) --no-directory-hooks Disable running executables found in Certbot(aqs hook directories during renewal. (default: False) --disable-renew-updates Disable automatic updates to your server configuration that would otherwise be done by the selected installer plugin, and triggered when the user executes "certbot renew", regardless of if the certificate is renewed. This setting does not apply to important TLS configuration updates. (default: False) --no-autorenew Disable auto renewal of certificates. (default: True) certificates: List certificates managed by Certbot delete: Options for deleting a certificate revoke: Options for revocation of certificates --reason {unspecified,keycompromise,affiliationchanged,superseded,cessationofoperation} Specify reason for revoking certificate. (default: unspecified) --delete-after-revoke Delete certificates after revoking them, along with all previous and later versions of those certificates. (default: None) --no-delete-after-revoke Do not delete certificates after revoking them. This option should be used with caution because the (aqrenew(aq subcommand will attempt to renew undeleted revoked certificates. (default: None) register: Options for account registration --register-unsafely-without-email Specifying this flag enables registering an account with no email address. This is strongly discouraged, because you will be unable to receive notice about impending expiration or revocation of your certificates or problems with your Certbot installation that will lead to failure to renew. (default: False) -m EMAIL, --email EMAIL Email used for registration and recovery contact. Use comma to register multiple emails, ex: u1@example.com,u2@example.com. (default: Ask). --eff-email Share your e-mail address with EFF (default: None) --no-eff-email Don(aqt share your e-mail address with EFF (default: None) update_account: Options for account modification unregister: Options for account deactivation. --account ACCOUNT_ID Account ID to use (default: None) install: Options for modifying how a certificate is deployed rollback: Options for rolling back server configuration changes --checkpoints N Revert configuration N number of checkpoints. (default: 1) plugins: Options for the "plugins" subcommand --init Initialize plugins. (default: False) --prepare Initialize and prepare plugins. (default: False) --authenticators Limit to authenticator plugins only. (default: None) --installers Limit to installer plugins only. (default: None) update_symlinks: Recreates certificate and key symlinks in /etc/letsencrypt/live, if you changed them by hand or edited a renewal configuration file enhance: Helps to harden the TLS configuration by adding security enhancements to already existing configuration. plugins: Plugin Selection: Certbot client supports an extensible plugins architecture. See (aqcertbot plugins(aq for a list of all installed plugins and their names. You can force a particular plugin by setting options provided below. Running --help <plugin_name> will list flags specific to that plugin. --configurator CONFIGURATOR Name of the plugin that is both an authenticator and an installer. Should not be used together with --authenticator or --installer. (default: Ask) -a AUTHENTICATOR, --authenticator AUTHENTICATOR Authenticator plugin name. (default: None) -i INSTALLER, --installer INSTALLER Installer plugin name (also used to find domains). (default: None) --apache Obtain and install certificates using Apache (default: False) --nginx Obtain and install certificates using Nginx (default: False) --standalone Obtain certificates using a "standalone" webserver. (default: False) --manual Provide laborious manual instructions for obtaining a certificate (default: False) --webroot Obtain certificates by placing files in a webroot directory. (default: False) --dns-cloudflare Obtain certificates using a DNS TXT record (if you are using Cloudflare for DNS). (default: False) --dns-cloudxns Obtain certificates using a DNS TXT record (if you are using CloudXNS for DNS). (default: False) --dns-digitalocean Obtain certificates using a DNS TXT record (if you are using DigitalOcean for DNS). (default: False) --dns-dnsimple Obtain certificates using a DNS TXT record (if you are using DNSimple for DNS). (default: False) --dns-dnsmadeeasy Obtain certificates using a DNS TXT record (if you are using DNS Made Easy for DNS). (default: False) --dns-gehirn Obtain certificates using a DNS TXT record (if you are using Gehirn Infrastructure Service for DNS). (default: False) --dns-google Obtain certificates using a DNS TXT record (if you are using Google Cloud DNS). (default: False) --dns-linode Obtain certificates using a DNS TXT record (if you are using Linode for DNS). (default: False) --dns-luadns Obtain certificates using a DNS TXT record (if you are using LuaDNS for DNS). (default: False) --dns-nsone Obtain certificates using a DNS TXT record (if you are using NS1 for DNS). (default: False) --dns-ovh Obtain certificates using a DNS TXT record (if you are using OVH for DNS). (default: False) --dns-rfc2136 Obtain certificates using a DNS TXT record (if you are using BIND for DNS). (default: False) --dns-route53 Obtain certificates using a DNS TXT record (if you are using Route53 for DNS). (default: False) --dns-sakuracloud Obtain certificates using a DNS TXT record (if you are using Sakura Cloud for DNS). (default: False) apache: Apache Web Server plugin (Please note that the default values of the Apache plugin options change depending on the operating system Certbot is run on.) --apache-enmod APACHE_ENMOD Path to the Apache (aqa2enmod(aq binary (default: None) --apache-dismod APACHE_DISMOD Path to the Apache (aqa2dismod(aq binary (default: None) --apache-le-vhost-ext APACHE_LE_VHOST_EXT SSL vhost configuration extension (default: -le- ssl.conf) --apache-server-root APACHE_SERVER_ROOT Apache server root directory (default: /etc/apache2) --apache-vhost-root APACHE_VHOST_ROOT Apache server VirtualHost configuration root (default: None) --apache-logs-root APACHE_LOGS_ROOT Apache server logs directory (default: /var/log/apache2) --apache-challenge-location APACHE_CHALLENGE_LOCATION Directory path for challenge configuration (default: /etc/apache2) --apache-handle-modules APACHE_HANDLE_MODULES Let installer handle enabling required modules for you (Only Ubuntu/Debian currently) (default: False) --apache-handle-sites APACHE_HANDLE_SITES Let installer handle enabling sites for you (Only Ubuntu/Debian currently) (default: False) --apache-ctl APACHE_CTL Full path to Apache control script (default: apache2ctl) --apache-bin APACHE_BIN Full path to apache2/httpd binary (default: None) dns-cloudflare: Obtain certificates using a DNS TXT record (if you are using Cloudflare for DNS). --dns-cloudflare-propagation-seconds DNS_CLOUDFLARE_PROPAGATION_SECONDS The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (default: 10) --dns-cloudflare-credentials DNS_CLOUDFLARE_CREDENTIALS Cloudflare credentials INI file. (default: None) dns-cloudxns: Obtain certificates using a DNS TXT record (if you are using CloudXNS for DNS). --dns-cloudxns-propagation-seconds DNS_CLOUDXNS_PROPAGATION_SECONDS The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (default: 30) --dns-cloudxns-credentials DNS_CLOUDXNS_CREDENTIALS CloudXNS credentials INI file. (default: None) dns-digitalocean: Obtain certificates using a DNS TXT record (if you are using DigitalOcean for DNS). --dns-digitalocean-propagation-seconds DNS_DIGITALOCEAN_PROPAGATION_SECONDS The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (default: 10) --dns-digitalocean-credentials DNS_DIGITALOCEAN_CREDENTIALS DigitalOcean credentials INI file. (default: None) dns-dnsimple: Obtain certificates using a DNS TXT record (if you are using DNSimple for DNS). --dns-dnsimple-propagation-seconds DNS_DNSIMPLE_PROPAGATION_SECONDS The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (default: 30) --dns-dnsimple-credentials DNS_DNSIMPLE_CREDENTIALS DNSimple credentials INI file. (default: None) dns-dnsmadeeasy: Obtain certificates using a DNS TXT record (if you are using DNS Made Easy for DNS). --dns-dnsmadeeasy-propagation-seconds DNS_DNSMADEEASY_PROPAGATION_SECONDS The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (default: 60) --dns-dnsmadeeasy-credentials DNS_DNSMADEEASY_CREDENTIALS DNS Made Easy credentials INI file. (default: None) dns-gehirn: Obtain certificates using a DNS TXT record (if you are using Gehirn Infrastructure Service for DNS). --dns-gehirn-propagation-seconds DNS_GEHIRN_PROPAGATION_SECONDS The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (default: 30) --dns-gehirn-credentials DNS_GEHIRN_CREDENTIALS Gehirn Infrastructure Service credentials file. (default: None) dns-google: Obtain certificates using a DNS TXT record (if you are using Google Cloud DNS for DNS). --dns-google-propagation-seconds DNS_GOOGLE_PROPAGATION_SECONDS The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (default: 60) --dns-google-credentials DNS_GOOGLE_CREDENTIALS Path to Google Cloud DNS service account JSON file. (See https://developers.google.com/identity/protocols/ OAuth2ServiceAccount#creatinganaccount forinformation about creating a service account and https://cloud.google.com/dns/access- control#permissions_and_roles for information about therequired permissions.) (default: None) dns-linode: Obtain certificates using a DNS TXT record (if you are using Linode for DNS). --dns-linode-propagation-seconds DNS_LINODE_PROPAGATION_SECONDS The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (default: 120) --dns-linode-credentials DNS_LINODE_CREDENTIALS Linode credentials INI file. (default: None) dns-luadns: Obtain certificates using a DNS TXT record (if you are using LuaDNS for DNS). --dns-luadns-propagation-seconds DNS_LUADNS_PROPAGATION_SECONDS The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (default: 30) --dns-luadns-credentials DNS_LUADNS_CREDENTIALS LuaDNS credentials INI file. (default: None) dns-nsone: Obtain certificates using a DNS TXT record (if you are using NS1 for DNS). --dns-nsone-propagation-seconds DNS_NSONE_PROPAGATION_SECONDS The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (default: 30) --dns-nsone-credentials DNS_NSONE_CREDENTIALS NS1 credentials file. (default: None) dns-ovh: Obtain certificates using a DNS TXT record (if you are using OVH for DNS). --dns-ovh-propagation-seconds DNS_OVH_PROPAGATION_SECONDS The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (default: 30) --dns-ovh-credentials DNS_OVH_CREDENTIALS OVH credentials INI file. (default: None) dns-rfc2136: Obtain certificates using a DNS TXT record (if you are using BIND for DNS). --dns-rfc2136-propagation-seconds DNS_RFC2136_PROPAGATION_SECONDS The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (default: 60) --dns-rfc2136-credentials DNS_RFC2136_CREDENTIALS RFC 2136 credentials INI file. (default: None) dns-route53: Obtain certificates using a DNS TXT record (if you are using AWS Route53 for DNS). --dns-route53-propagation-seconds DNS_ROUTE53_PROPAGATION_SECONDS The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (default: 10) dns-sakuracloud: Obtain certificates using a DNS TXT record (if you are using Sakura Cloud for DNS). --dns-sakuracloud-propagation-seconds DNS_SAKURACLOUD_PROPAGATION_SECONDS The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (default: 90) --dns-sakuracloud-credentials DNS_SAKURACLOUD_CREDENTIALS Sakura Cloud credentials file. (default: None) manual: Authenticate through manual configuration or custom shell scripts. When using shell scripts, an authenticator script must be provided. The environment variables available to this script depend on the type of challenge. $CERTBOT_DOMAIN will always contain the domain being authenticated. For HTTP-01 and DNS-01, $CERTBOT_VALIDATION is the validation string, and $CERTBOT_TOKEN is the filename of the resource requested when performing an HTTP-01 challenge. An additional cleanup script can also be provided and can use the additional variable $CERTBOT_AUTH_OUTPUT which contains the stdout output from the auth script. For both authenticator and cleanup script, on HTTP-01 and DNS-01 challenges, $CERTBOT_REMAINING_CHALLENGES will be equal to the number of challenges that remain after the current one, and $CERTBOT_ALL_DOMAINS contains a comma-separated list of all domains that are challenged for the current certificate. --manual-auth-hook MANUAL_AUTH_HOOK Path or command to execute for the authentication script (default: None) --manual-cleanup-hook MANUAL_CLEANUP_HOOK Path or command to execute for the cleanup script (default: None) nginx: Nginx Web Server plugin --nginx-server-root NGINX_SERVER_ROOT Nginx server root directory. (default: /etc/nginx or /usr/local/etc/nginx) --nginx-ctl NGINX_CTL Path to the (aqnginx(aq binary, used for (aqconfigtest(aq and retrieving nginx version number. (default: nginx) --nginx-sleep-seconds NGINX_SLEEP_SECONDS Number of seconds to wait for nginx configuration changes to apply when reloading. (default: 1) null: Null Installer standalone: Spin up a temporary webserver webroot: Place files in webroot directory --webroot-path WEBROOT_PATH, -w WEBROOT_PATH public_html / webroot path. This can be specified multiple times to handle different domains; each domain will have the webroot path that preceded it. For instance: (ga-w /var/www/example -d example.com -d www.example.com -w /var/www/thing -d thing.net -d m.thing.net(ga (default: Ask) --webroot-map WEBROOT_MAP JSON dictionary mapping domains to webroot paths; this implies -d for each entry. You may need to escape this from your shell. E.g.: --webroot-map (aq{"eg1.is,m.eg1.is":"/www/eg1/", "eg2.is":"/www/eg2"}(aq This option is merged with, but takes precedence over, -w / -d entries. At present, if you put webroot-map in a config file, it needs to be on a single line, like: webroot-map = {"example.com":"/var/www"}. (default: {}) P
fish-completions(1)
Writing fish completions To specify a completion, use the complete command. complete takes as a parameter the name of the command to specify a completion for. For example, to add a completion for the program myprog, one would start the completion command with complete -c myprog ... To provide a list of possible completions for myprog, use the -a switch. If myprog accepts the arguments start and stop, this can be specified as complete -c myprog -a (aqstart stop(aq. The argument to the -a switch is always a single string. At completion time, it will be tokenized on spaces and tabs, and variable expansion, command substitution and other forms of parameter expansion will take place. fish has a special syntax to support specifying switches accepted by a command. The switches -s, -l and -o are used to specify a short switch (single character, such as -l), a gnu style long switch (such as --color) and an old-style long switch (like -shuffle), respectively. If the command (aqmyprog(aq has an option (aq-o(aq which can also be written as --output, and which can take an additional value of either (aqyes(aq or (aqno(aq, this can be specified by writing: 0.0 3.5 C complete -c myprog -s o -l output -a "yes no" P There are also special switches for specifying that a switch requires an argument, to disable filename completion, to create completions that are only available in some combinations, etc.. For a complete description of the various switches accepted by the complete command, see the documentation for the complete builtin, or write complete --help inside the fish shell. As a more comprehensive example, here(aqs a commented excerpt of the completions for systemd(aqs timedatectl: 0.0 3.5 C # All subcommands that timedatectl knows - this is useful for later. set -l commands status set-time set-timezone list-timezones set-local-rtc set-ntp # Disable file completions for the entire command # because it does not take files anywhere # Note that this can be undone by using "-F". # # File completions also need to be disabled # if you want to have more control over what files are offered # (e.g. just directories, or just files ending in ".mp3"). complete -c timedatectl -f # This line offers the subcommands # -"status", # -"set-timezone", # -"set-time" # -"list-timezones" # if no subcommand has been given so far. # # The (ga-n(ga/(ga--condition(ga option takes script as a string, which it executes. # If it returns true, the completion is offered. # Here the condition is the (ga__fish_seen_subcommands_from(ga helper function. # If returns true if any of the given commands is used on the commandline, # as determined by a simple heuristic. # For more complex uses, you can write your own function. # See e.g. the git completions for an example. # complete -c timedatectl -n "not __fish_seen_subcommand_from $commands" e -a "status set-time set-timezone list-timezones" # If the "set-timezone" subcommand is used, # offer the output of (gatimedatectl list-timezones(ga as completions. # Each line of output is used as a separate candidate, # and anything after a tab is taken as the description. # It(aqs often useful to transform command output with (gastring(ga into that form. complete -c timedatectl -n "__fish_seen_subcommand_from set-timezone" e -a "(timedatectl list-timezones)" # Completion candidates can also be described via (ga-d(ga, # which is useful if the description is constant. # Try to keep these short, because that means the user gets to see more at once. complete -c timedatectl -n "not __fish_seen_subcommand_from $commands" e -a "set-local-rtc" -d "Maintain RTC in local time" # We can also limit options to certain subcommands by using conditions. complete -c timedatectl -n "__fish_seen_subcommand_from set-local-rtc" e -l adjust-system-clock -d (aqSynchronize system clock from the RTC(aq # These are simple options that can be used everywhere. complete -c timedatectl -s h -l help -d (aqPrint a short help text and exit(aq complete -c timedatectl -l version -d (aqPrint a short version string and exit(aq complete -c timedatectl -l no-pager -d (aqDo not pipe output into a pager(aq P For examples of how to write your own complex completions, study the completions in /usr/share/fish/completions. (The exact path depends on your chosen installation prefix and may be slightly different)
graphics(3), Display(3), Point(3), Rectangle(3), Cursor(3), initdraw(3), geninitdraw(3), drawerror(3), initdisplay(3), closedisplay(3), getwindow(3), gengetwindow(3), flushimage(3), bufimage(3), lockdisplay(3), unlockdisplay(3), cursorswitch(3), cursorset(3), openfont(3), buildfont(3), freefont(3), Pfmt(3), Rfmt(3), strtochan(3), chantostr(3), chantodepth(3)
interactive graphics
mouse(3), initmouse(3), readmouse(3), closemouse(3), moveto(3), cursorswitch(3), getrect(3), drawgetrect(3), menuhit(3), setcursor(3)
mouse control
sslh(1)
Switch incoming connection between SSH and SSL/HTTPS servers
switch(1)
conditionally execute a block of commands
home | help