Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (f2e4bc7a673410538b8bf5ef59bd6d556387e6a6)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (f2e4bc7a673410538b8bf5ef59bd6d556387e6a6)
  • Date: Thu, 19 Jun 2008 04:59:00 -0500

GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

ChangeLog | 3 +++
usr/share/man/man8/sorcery.8 | 29 +++++++++++++++++++++++++++++
2 files changed, 32 insertions(+)

New commits:
commit f2e4bc7a673410538b8bf5ef59bd6d556387e6a6
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

sorcery.8: clarify the sorcery default subcommands with examples #14528

diff --git a/ChangeLog b/ChangeLog
index f28cda0..a67e3fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2008-06-19 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * sorcery.8: clarify the sorcery default subcommands with examples
#14528
+
2008-06-18 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* config: made the rest of the previously overridable variables
overridable
added missing file handling to the color() hack
diff --git a/usr/share/man/man8/sorcery.8 b/usr/share/man/man8/sorcery.8
index 03cd4cb..e4f3d89 100644
--- a/usr/share/man/man8/sorcery.8
+++ b/usr/share/man/man8/sorcery.8
@@ -73,10 +73,39 @@ and the provider if set to on.
This adds a default statement to the list.
Either <on> or <what> (not both) can be "", in which case they work as
wildcards (anything <what> depends on / anything that depends on <on>)
+.PP
+.I Examples:
+.TP
+default add spell_1 spell_2 off
+If "spell_1" optionally depends on "spell_2" the default answer is off.
+
+.TP
+default add "" spell on
+If anything optionally depends on "spell" the default answer is on.
+
+.TP
+default add spell "" off
+If "spell" optionally depends on anything the default answer is off.
+
+.TP
+default add spell PROVIDER on
+"Spell" is the default provider for PROVIDER. In the case of optional_depends
+and the value of "off", "none" is chosen as the default instead.
+
.SS default remove|search [<on>|"" [<what>|"" [on|off]]]
These are used to search or modify the defaults list.
Anything not specified or blank will be a wildcard.
Everything that matches will be removed/shown.
+.PP
+.I Examples:
+.TP
+default remove spell_1 spell_2
+The default answer for when "spell_1" optionally depends on "spell_2" is
removed.
+
+.TP
+default search spell PROVIDER off
+Search the defaults to see if "spell" is not the default provider of
PROVIDER.
+
.SS -v|--version
Displays the version number of your sorcery package.
Always use this information when filing bugs.



  • [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (f2e4bc7a673410538b8bf5ef59bd6d556387e6a6), Jaka Kranjc, 06/19/2008

Archive powered by MHonArc 2.6.24.

Top of Page