[Bps-public-commit] SD branch, config-gitlike, updated. 58868c32e5dc978c6014769c195f87599291247c

spang at bestpractical.com spang at bestpractical.com
Thu Jun 25 04:58:02 EDT 2009


The branch, config-gitlike has been updated
       via  58868c32e5dc978c6014769c195f87599291247c (commit)
      from  355ed5828b3b5da51dd3cf9ee09434f18729a407 (commit)

Summary of changes:
 lib/App/SD/CLI/Command/Help/Config.pm |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 58868c32e5dc978c6014769c195f87599291247c
Author: Christine Spang <spang at bestpractical.com>
Date:   Wed Jun 24 20:59:52 2009 +0300

    Add some help text about using sd config to manipulate config files.

diff --git a/lib/App/SD/CLI/Command/Help/Config.pm b/lib/App/SD/CLI/Command/Help/Config.pm
index 3222b23..a00bdcd 100644
--- a/lib/App/SD/CLI/Command/Help/Config.pm
+++ b/lib/App/SD/CLI/Command/Help/Config.pm
@@ -18,6 +18,20 @@ You can use the '${cmd}config' command to view what configuration files
 SD has loaded and all loaded configuration variables, as they apply
 to the current replica.
 
+'${cmd}config' can also be used to set configuration variables.
+
+Examples:
+
+    ${cmd}config user.email-address user\@example.com
+    ${cmd}config --delete user.email-address
+    ${cmd}config user.email-address
+      Print the current value of this configuration variable.
+    ${cmd}config alias.'this.alias.contains.dots' 'so it must be quoted'
+    ${cmd}config edit
+    ${cmd}config edit --user
+    ${cmd}config edit --global
+      Edit the specified config file in an editor.
+
 The configuration file format is similar to that of the VCS 'Git'. See
 http://www.kernel.org/pub/software/scm/git/docs/git-config.html for
 specifics. The biggest thing you need to know is that the config file

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list