From b30db17def6ba61b159bc9ca8a55a1d268a914a2 Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Tue, 7 Jul 2015 09:41:18 -0700 Subject: [PATCH] use column to format help output --- dokku | 10 +++++----- plugins/00_dokku-standard/commands | 12 ++++++------ plugins/20_events/commands | 8 ++++---- plugins/apps/commands | 6 +++--- plugins/backup/commands | 4 ++-- plugins/config/commands | 8 ++++---- plugins/docker-options/commands | 8 ++++---- plugins/domains/commands | 8 ++++---- plugins/nginx-vhosts/commands | 4 ++-- plugins/ps/commands | 16 ++++++++-------- plugins/shell/commands | 2 +- 11 files changed, 43 insertions(+), 43 deletions(-) diff --git a/dokku b/dokku index 043e7a69b..a32bd815c 100755 --- a/dokku +++ b/dokku @@ -224,11 +224,11 @@ case "$1" in echo "" echo "Options:" - cat< [-t] Show the last logs for an application (-t follows) - run Run a command in the environment of an application - url Show the first URL for an application (compatibility) - urls Show all URLs for an application - version Print dokku's version + ls, Pretty listing of deployed applications and containers + logs [-t], Show the last logs for an application (-t follows) + run , Run a command in the environment of an application + url , Show the first URL for an application (compatibility) + urls , Show all URLs for an application + version, Print dokku's version EOF ;; diff --git a/plugins/20_events/commands b/plugins/20_events/commands index ad96119e5..66b72704f 100755 --- a/plugins/20_events/commands +++ b/plugins/20_events/commands @@ -40,10 +40,10 @@ case "$1" in help | events:help) cat && cat< Create a new app - apps:destroy Permanently destroy an app + apps, List your apps + apps:create , Create a new app + apps:destroy , Permanently destroy an app EOF ;; diff --git a/plugins/backup/commands b/plugins/backup/commands index 8d44e1438..d964cde6e 100755 --- a/plugins/backup/commands +++ b/plugins/backup/commands @@ -87,8 +87,8 @@ case "$1" in help | backup:help) cat && cat<|--global) Display all global or app-specific config vars - config:get (|--global) KEY Display a global or app-specific config value - config:set (|--global) KEY1=VALUE1 [KEY2=VALUE2 ...] Set one or more config vars - config:unset (|--global) KEY1 [KEY2 ...] Unset one or more config vars + config (|--global), Display all global or app-specific config vars + config:get (|--global) KEY, Display a global or app-specific config value + config:set (|--global) KEY1=VALUE1 [KEY2=VALUE2 ...], Set one or more config vars + config:unset (|--global) KEY1 [KEY2 ...], Unset one or more config vars EOF ;; diff --git a/plugins/docker-options/commands b/plugins/docker-options/commands index ad5946fed..83850e65e 100755 --- a/plugins/docker-options/commands +++ b/plugins/docker-options/commands @@ -141,10 +141,10 @@ case "$1" in # Display usage help help) cat && cat< Display apps docker options for all phases - docker-options Display apps docker options for phase (comma-separated phase list) - docker-options:add OPTION Add docker option to app for phase (comma-separated phase list) - docker-options:remove OPTION Remove docker option from app for phase (comma-separated phase list) + docker-options , Display apps docker options for all phases + docker-options , Display apps docker options for phase (comma seperated phase list) + docker-options:add OPTION, Add docker option to app for phase (comma seperated phase list) + docker-options:remove OPTION, Remove docker option from app for phase (comma seperated phase list) EOF ;; diff --git a/plugins/domains/commands b/plugins/domains/commands index 4b2297bdf..9dfc86968 100755 --- a/plugins/domains/commands +++ b/plugins/domains/commands @@ -133,10 +133,10 @@ case "$1" in help | domains:help) cat && cat< List custom domains for app - domains:add DOMAIN Add a custom domain to app - domains:clear Clear all custom domains for app - domains:remove DOMAIN Remove a custom domain from app + domains , List custom domains for app + domains:add DOMAIN, Add a custom domain to app + domains:clear , Clear all custom domains for app + domains:remove DOMAIN, Remove a custom domain from app EOF ;; diff --git a/plugins/nginx-vhosts/commands b/plugins/nginx-vhosts/commands index a1d955caa..a0ba50ebe 100755 --- a/plugins/nginx-vhosts/commands +++ b/plugins/nginx-vhosts/commands @@ -174,8 +174,8 @@ EOF help | nginx:help) cat && cat< Imports a tarball from stdin; should contain server.crt and server.key - nginx:build-config (Re)builds nginx config for given app + nginx:import-ssl , Imports a tarball from stdin; should contain server.crt and server.key + nginx:build-config , (Re)builds nginx config for given app EOF ;; diff --git a/plugins/ps/commands b/plugins/ps/commands index d19f0ec37..f0aea65b0 100755 --- a/plugins/ps/commands +++ b/plugins/ps/commands @@ -101,14 +101,14 @@ case "$1" in help | ps:help) cat && cat< List processes running in app container(s) - ps:scale = [=] Set how many processes of a given process to run - ps:start Start app container(s) - ps:stop Stop app container(s) - ps:rebuild Rebuild an app - ps:rebuildall Rebuild all apps - ps:restart Restart app container(s) - ps:restartall Restart all deployed app containers + ps , List processes running in app container(s) + ps:scale = [=], Set how many instances of a given process to run + ps:start , Start app container(s) + ps:stop , Stop app container(s) + ps:rebuild , Rebuild an app + ps:rebuildall, Rebuild all apps + ps:restart , Restart app container(s) + ps:restartall, Restart all deployed app containers EOF ;; diff --git a/plugins/shell/commands b/plugins/shell/commands index 3b1d6d60b..cdb05637a 100755 --- a/plugins/shell/commands +++ b/plugins/shell/commands @@ -48,7 +48,7 @@ case "$1" in help | shell:help) cat && cat<