refactor: storage:default is now an alias for storage:help

This commit is contained in:
Jose Diaz-Gonzalez committed 2017-03-15 02:39:53 -06:00
1 parent e99e0b02d4
commit ac8aff1f00
1 file changed
+2 -11
+2 -11
View File
@@ -1,14 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions" source "$PLUGIN_AVAILABLE_PATH/storage/internal-functions"
source "$PLUGIN_CORE_AVAILABLE_PATH/storage/functions"
storage_main_cmd() { storage_help_cmd "storage:help"
declare desc="an alias for storage:list"
local cmd="storage"
dokku_log_warn "Deprecated: Please use storage:list"
storage_list_cmd "$@"
}
storage_main_cmd "$@"