[Bps-public-commit] SD branch, master, updated. 0.74-56-g8a5a436
Christine Spang
spang at bestpractical.com
Tue Oct 19 00:44:02 EDT 2010
The branch, master has been updated
via 8a5a436d942ad1c2c4d14f22fd50bad25ee82d9e (commit)
from fd79844ba71eb725c85a2a043e1baa7f9610ea44 (commit)
Summary of changes:
lib/App/SD/CLI/Command/Help/Sync.pm | 3 +++
lib/App/SD/CLI/Dispatcher.pm | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 8a5a436d942ad1c2c4d14f22fd50bad25ee82d9e
Author: Christine Spang <spang at bestpractical.com>
Date: Tue Oct 19 00:41:03 2010 -0400
alias 'help browser' to point to sync help
And add a note about the browser command itself. (RT #60358)
diff --git a/lib/App/SD/CLI/Command/Help/Sync.pm b/lib/App/SD/CLI/Command/Help/Sync.pm
index 0c18b7d..5c8bd43 100644
--- a/lib/App/SD/CLI/Command/Help/Sync.pm
+++ b/lib/App/SD/CLI/Command/Help/Sync.pm
@@ -43,6 +43,9 @@ print <<EOF
Adjust port to the server, and notice the /replica/ path.
+ ${cmd}browser --port 9876
+ Do the same as the server command, but also open up the server's
+ front page in your browser.
SD can sync to external systems as well as itself. Currently, there
are foreign replica types for:
diff --git a/lib/App/SD/CLI/Dispatcher.pm b/lib/App/SD/CLI/Dispatcher.pm
index 05465c8..cab36d4 100644
--- a/lib/App/SD/CLI/Dispatcher.pm
+++ b/lib/App/SD/CLI/Dispatcher.pm
@@ -59,7 +59,7 @@ under help => sub {
on [ ['search', 'list', 'find'] ] => run_command('Help::Search');
- on [ ['sync', 'push', 'pull', 'publish', 'server','clone'] ]
+ on [ ['sync', 'push', 'pull', 'publish', 'server', 'browser', 'clone'] ]
=> run_command('Help::Sync');
on qr/^(\S+)$/ => sub {
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list