From 2167723190399021f92ab398f866d32216834587 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Tue, 21 Jan 2020 18:31:13 -0800 Subject: [PATCH] Remove hyphen from "meta-data" --- doc/AntiAbuse.md | 2 +- doc/Registry.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/AntiAbuse.md b/doc/AntiAbuse.md index 3836abee..770d95eb 100644 --- a/doc/AntiAbuse.md +++ b/doc/AntiAbuse.md @@ -51,5 +51,5 @@ PBot can detect if someone immediately auto-rejoins after having been kicked. When such a case is detected, PBot will kickban the offender (with a kick message of "$timeout ban for auto-rejoining after kick") for 5 minutes for the first offense. Each additional offense will result in the offender being banned for a much longer period. The offense counter is decremented once every 24 hours. ## Opping/Deopping -ChanServ can op and deop PBot as necessary, unless the channel `permop` meta-data is set to a true value. PBot will wait until about 5 minutes have elapsed before requesting a deop from ChanServ. This timeout can be controlled via the `general.deop_timeout` registry value, which can be overriden on a per-channel basis. +ChanServ can op and deop PBot as necessary, unless the channel `permop` metadata is set to a true value. PBot will wait until about 5 minutes have elapsed before requesting a deop from ChanServ. This timeout can be controlled via the `general.deop_timeout` registry value, which can be overriden on a per-channel basis. diff --git a/doc/Registry.md b/doc/Registry.md index b6efa2db..70775784 100644 --- a/doc/Registry.md +++ b/doc/Registry.md @@ -29,7 +29,7 @@ These are represented as `
.`. For example, `irc.port` is set to `6 There are two types of registry values: literals and arrays. Literals can be strings, floats or integers. Arrays are comma-separated lists of literals. ### Creating array values -Use the [regsetmeta](#regsetmeta) command to change the `type` [meta-data key](#metadata-list) to `array`, and set the registry value to a comma-separated list of values. +Use the [regsetmeta](#regsetmeta) command to change the `type` [metadata key](#metadata-list) to `array`, and set the registry value to a comma-separated list of values. For example, we'll create a fictional Registry key `animals` in fictional section `foo` and then set its `type` to `array`. @@ -101,13 +101,13 @@ To limit the search to a specific section, use `-section
`. To dump the entire registry, use `regfind -showvalues .*`. ### regsetmeta -`regsetmeta` sets the meta-data values for a specific registry key. See [registry meta-data list](#metadata-list). +`regsetmeta` sets the metadata values for a specific registry key. See [registry metadata list](#metadata-list). If you omit the `` argument, it will list all the defined keys and values for the registry item. If you specify `` but omit ``, it will show the value for that specific key. Usage: `regsetmeta
. [key [value]]` -For example, this directly sets the `value` meta-data key of `irc.botnick`. +For example, this directly sets the `value` metadata key of `irc.botnick`. !regsetmeta irc.botnick value candide * PBot changed nick to candide @@ -116,7 +116,7 @@ For example, this directly sets the `value` meta-data key of `irc.botnick`. That example is equivalent to `regset irc.botnick candide`. ### regunsetmeta -`regunset` deletes a meta-data key from a registry item. +`regunset` deletes a metadata key from a registry item. Usage: `regunset
. ` @@ -139,7 +139,7 @@ After editing an entry in the Registry file, you may reload it with the `reload` Registry reloaded. ## Metadata list -This is a list of recognized registry meta-data keys. +This is a list of recognized registry metadata keys. Name | Description --- | ---