Skip to content
This repository
Browse code

added hint to use auto completion to helo messages

  • Loading branch information...
commit 3cd3c5ee587cc2311eee7b88a5e2137b0dff40fa 1 parent a1a36dc
Stefan Judis authored March 21, 2013

Showing 1 changed file with 10 additions and 2 deletions. Show diff stats Hide diff stats

  1. 12  lib/help/messages.js
12  lib/help/messages.js
@@ -10,7 +10,8 @@ var messages = module.exports = {
10 10
   'general':            'Got into trouble?\n' +
11 11
                         'Lookup help for specific commands with:\n\n' +
12 12
                         '    $ help [command]\n\n' +
13  
-                        'Available commands on this level are:',
  13
+                        'Available commands on this level are:\n\n' +
  14
+                        '(noticed TAB completion? -> if not try it...)',
14 15
 
15 16
   '..':                 'Switch to parent level\n\n' +
16 17
                         'Command:\n' +
@@ -55,6 +56,7 @@ var messages = module.exports = {
55 56
                         '    $ compact',
56 57
 
57 58
   'config':             'Get or set config information.\n\n' +
  59
+                        'COMMAND SUPPORTS AUTO-COMPLETION.\n\n' +
58 60
                         'Commands:\n' +
59 61
                         'Get complete config.\n' +
60 62
                         '    $ config\n\n' +
@@ -65,12 +67,14 @@ var messages = module.exports = {
65 67
                         'Set value for specific config option.\n' +
66 68
                         '    $ config [section] [option] [value]',
67 69
 
  70
+  'content':            '',
  71
+
68 72
   'create':             'Create new database (if not exist) and set it in CouchDB.\n\n' +
69 73
                         'Command:\n' +
70 74
                         '    $ create',
71 75
 
72 76
   'createAdmin':        'Create new Admin.\n\n' +
73  
-                        'You have to be logged in as admin\n' +
  77
+                        'You have to be logged in as admin.\n' +
74 78
                         'Commands:\n' +
75 79
                         'Create admin with prompt for name and password.\n' +
76 80
                         '    $ createAdmin\n\n' +
@@ -83,6 +87,7 @@ var messages = module.exports = {
83 87
                         '(look at \'$ database create)\n' +
84 88
                         'If you are at document level use command\n' +
85 89
                         'to switch back to last database\n\n' +
  90
+                        'COMMAND SUPPORTS AUTO-COMPLETION.\n\n' +
86 91
                         'Commands:\n' +
87 92
                         'Switch to new database.\n' +
88 93
                         '    $ database [name]\n\n' +
@@ -104,6 +109,7 @@ var messages = module.exports = {
104 109
                         '    $ deleteAdmin [name]',
105 110
 
106 111
   'deleteConnection':   'Delete particular saved connection.\n\n' +
  112
+                        'COMMAND SUPPORTS AUTO-COMPLETION.\n\n' +
107 113
                         'Commands:\n' +
108 114
                         'Delete saved connection by its name' +
109 115
                         '    $ deleteConnection [name]' +
@@ -124,6 +130,7 @@ var messages = module.exports = {
124 130
   'document':           'Switch to document level by ID.\n' +
125 131
                         'If you don\'t set the ID CouchDB' +
126 132
                         'will set it for you later\n\n' +
  133
+                        'COMMAND SUPPORTS AUTO-COMPLETION.\n\n' +
127 134
                         'Command:\n' +
128 135
                         '    $ document [id]',
129 136
 
@@ -198,6 +205,7 @@ var messages = module.exports = {
198 205
                         'into the level of a new user by setting his/her' +
199 206
                         'name and create it afterwards. Try "help create" ' +
200 207
                         'at user level if you need more information.\n\n' +
  208
+                        'COMMAND SUPPORTS AUTO-COMPLETION.\n\n' +
201 209
                         'Command:\n' +
202 210
                         '    $ user [username]',
203 211
 

0 notes on commit 3cd3c5e

Please sign in to comment.
Something went wrong with that request. Please try again.