Skip to content
This repository has been archived by the owner on Oct 9, 2022. It is now read-only.

Commit

Permalink
added hint to use auto completion to helo messages
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanjudis committed Mar 21, 2013
1 parent a1a36dc commit 3cd3c5e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions lib/help/messages.js
Expand Up @@ -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' +
Expand Down Expand Up @@ -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' +
Expand All @@ -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' +
Expand All @@ -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' +
Expand All @@ -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]' +
Expand All @@ -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]',

Expand Down Expand Up @@ -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]',

Expand Down

0 comments on commit 3cd3c5e

Please sign in to comment.