couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [1/4] couchdb-nmo git commit: small text fixes
Date Wed, 13 Jan 2016 06:47:36 GMT
Repository: couchdb-nmo
Updated Branches:
  refs/heads/master dbe4e44b8 -> 84291459e
Updated Tags:  refs/tags/v1.2.0 [created] c9a5b30d0


small text fixes


Project: http://git-wip-us.apache.org/repos/asf/couchdb-nmo/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-nmo/commit/5bc17cb2
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-nmo/tree/5bc17cb2
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-nmo/diff/5bc17cb2

Branch: refs/heads/master
Commit: 5bc17cb2bc1d6daec767117605add701c9370b16
Parents: dbe4e44
Author: Garren Smith <garren.smith@gmail.com>
Authored: Wed Jan 13 08:23:31 2016 +0200
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Wed Jan 13 08:23:31 2016 +0200

----------------------------------------------------------------------
 doc/cli/nmo-savetofile.md | 2 +-
 src/couch-config.js       | 2 +-
 src/savetofile.js         | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-nmo/blob/5bc17cb2/doc/cli/nmo-savetofile.md
----------------------------------------------------------------------
diff --git a/doc/cli/nmo-savetofile.md b/doc/cli/nmo-savetofile.md
index 1c99c52..27c2e72 100644
--- a/doc/cli/nmo-savetofile.md
+++ b/doc/cli/nmo-savetofile.md
@@ -4,7 +4,7 @@ nmo-savetofile(1) -- save database to file
 ## SYNOPSIS
 
     nmo savetofile cluster database file [--compress]
-    nmo activetasks url database file [--compress]
+    nmo savetofile url database file [--compress]
 
 
 ## DESCRIPTION

http://git-wip-us.apache.org/repos/asf/couchdb-nmo/blob/5bc17cb2/src/couch-config.js
----------------------------------------------------------------------
diff --git a/src/couch-config.js b/src/couch-config.js
index 5379b94..b6c9f3a 100644
--- a/src/couch-config.js
+++ b/src/couch-config.js
@@ -59,7 +59,7 @@ export function get (cluster, nodes, section) {
 
     Object.keys(nodeConfigs).forEach(node => {
       var msg = [
-        'NODE:',
+        'NODE ' + node + ':',
         prettyjson.render(nodeConfigs[node], {})
       ].join('\n');
       console.log(msg);

http://git-wip-us.apache.org/repos/asf/couchdb-nmo/blob/5bc17cb2/src/savetofile.js
----------------------------------------------------------------------
diff --git a/src/savetofile.js b/src/savetofile.js
index 3a09af3..22c6592 100644
--- a/src/savetofile.js
+++ b/src/savetofile.js
@@ -14,8 +14,8 @@ export function cli (url, dbname, file) {
       const msg = [
         'Usage:',
         '',
-        'nmo activetasks <cluster> <database name> <file> ',
-        'nmo activetasks <url> <database name> <file>'
+        'nmo savetofile <cluster> <database name> <file> ',
+        'nmo savetofile <url> <database name> <file>'
       ].join('\n');
 
       const err = new Error(msg);


Mime
View raw message