Permalink
Browse files

added hint to use auto completion to helo messages

  • Loading branch information...
1 parent a1a36dc commit 3cd3c5ee587cc2311eee7b88a5e2137b0dff40fa @stefanjudis committed Mar 21, 2013
Showing with 10 additions and 2 deletions.
  1. +10 −2 lib/help/messages.js
View
@@ -10,7 +10,8 @@ var messages = module.exports = {
'general': 'Got into trouble?\n' +
'Lookup help for specific commands with:\n\n' +
' $ help [command]\n\n' +
- 'Available commands on this level are:',
+ 'Available commands on this level are:\n\n' +
+ '(noticed TAB completion? -> if not try it...)',
'..': 'Switch to parent level\n\n' +
'Command:\n' +
@@ -55,6 +56,7 @@ var messages = module.exports = {
' $ compact',
'config': 'Get or set config information.\n\n' +
+ 'COMMAND SUPPORTS AUTO-COMPLETION.\n\n' +
'Commands:\n' +
'Get complete config.\n' +
' $ config\n\n' +
@@ -65,12 +67,14 @@ var messages = module.exports = {
'Set value for specific config option.\n' +
' $ config [section] [option] [value]',
+ 'content': '',
+
'create': 'Create new database (if not exist) and set it in CouchDB.\n\n' +
'Command:\n' +
' $ create',
'createAdmin': 'Create new Admin.\n\n' +
- 'You have to be logged in as admin\n' +
+ 'You have to be logged in as admin.\n' +
'Commands:\n' +
'Create admin with prompt for name and password.\n' +
' $ createAdmin\n\n' +
@@ -83,6 +87,7 @@ var messages = module.exports = {
'(look at \'$ database create)\n' +
'If you are at document level use command\n' +
'to switch back to last database\n\n' +
+ 'COMMAND SUPPORTS AUTO-COMPLETION.\n\n' +
'Commands:\n' +
'Switch to new database.\n' +
' $ database [name]\n\n' +
@@ -104,6 +109,7 @@ var messages = module.exports = {
' $ deleteAdmin [name]',
'deleteConnection': 'Delete particular saved connection.\n\n' +
+ 'COMMAND SUPPORTS AUTO-COMPLETION.\n\n' +
'Commands:\n' +
'Delete saved connection by its name' +
' $ deleteConnection [name]' +
@@ -124,6 +130,7 @@ var messages = module.exports = {
'document': 'Switch to document level by ID.\n' +
'If you don\'t set the ID CouchDB' +
'will set it for you later\n\n' +
+ 'COMMAND SUPPORTS AUTO-COMPLETION.\n\n' +
'Command:\n' +
' $ document [id]',
@@ -198,6 +205,7 @@ var messages = module.exports = {
'into the level of a new user by setting his/her' +
'name and create it afterwards. Try "help create" ' +
'at user level if you need more information.\n\n' +
+ 'COMMAND SUPPORTS AUTO-COMPLETION.\n\n' +
'Command:\n' +
' $ user [username]',

0 comments on commit 3cd3c5e

Please sign in to comment.