From d387453efaf462ae17eb5adde9cb462b639ec62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Kl=C3=B6tzl?= Date: Mon, 10 Jul 2017 13:06:14 +0200 Subject: [PATCH] fix some exclusion lists --- src/_docpad | 14 +++++++------- src/_rails | 20 ++++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/_docpad b/src/_docpad index 0828474..21ff533 100644 --- a/src/_docpad +++ b/src/_docpad @@ -55,13 +55,13 @@ _1st_arguments=( ) _arguments -C \ - '(-h,--help)'{-h,--help}'[output usage information]'\ - '(-V,--version)'{-V,--version}'[output the version number]'\ - '(-o,--out)'{-o,--out}'[where to output the rendered directory or files]:path:_files'\ - '(-c,--config)'{-c,--config}'[a custom configuration file to load in]:path:_files'\ - '(-e,--env)'{-e,--env}'[the environment name to use for this instance, multiple names can be separated with a comma]'\ - '(-d,--debug)'{-d,--debug}'+[the level of debug messages you would like to display, if specified defaults to 7, otherwise 6]:number'\ - '(-f,--force)'{-f,--force}'[force a re-install of all modules]'\ + '(-h --help)'{-h,--help}'[output usage information]'\ + '(-V --version)'{-V,--version}'[output the version number]'\ + '(-o --out)'{-o,--out}'[where to output the rendered directory or files]:path:_files'\ + '(-c --config)'{-c,--config}'[a custom configuration file to load in]:path:_files'\ + '(-e --env)'{-e,--env}'[the environment name to use for this instance, multiple names can be separated with a comma]'\ + '(-d --debug)'{-d,--debug}'+[the level of debug messages you would like to display, if specified defaults to 7, otherwise 6]:number'\ + '(-f --force)'{-f,--force}'[force a re-install of all modules]'\ '1: :->cmds'\ '*: :_files'&& ret=0 diff --git a/src/_rails b/src/_rails index d8cc7bb..6dc85d4 100644 --- a/src/_rails +++ b/src/_rails @@ -401,8 +401,8 @@ _rails_generate_scaffold_controller() { _arguments \ $model_generators_options \ - '(-e,--template-engine)'{-e,--template-engine=}'[Template engine to be invoked]:template engine' \ - '(-t,--test-framework)'{-t,--test-framework=}'[Test framework to be invoked]:test framework' \ + '(-e --template-engine)'{-e,--template-engine=}'[Template engine to be invoked]:template engine' \ + '(-t --test-framework)'{-t,--test-framework=}'[Test framework to be invoked]:test framework' \ --helper'[Indicates when to generate helper]: :__rails_boolean' \ ': :_guard "^-*" "name"' } @@ -471,16 +471,16 @@ _rails_new() { _arguments -C \ $rails_options \ $runtime_options \ - '(-r,--ruby)'{-r,--ruby=}'[Path to the Ruby binary of your choice]:path' \ - '(-b,--builder)'{-b,--builder=}'[Path to a application builder (can be a filesystem path or URL)]: :->path_or_url' \ - '(-m,--template)'{-m,--template=}'[Path to an application template (can be a filesystem path or URL)]: :->path_or_url' \ + '(-r --ruby)'{-r,--ruby=}'[Path to the Ruby binary of your choice]:path' \ + '(-b --builder)'{-b,--builder=}'[Path to a application builder (can be a filesystem path or URL)]: :->path_or_url' \ + '(-m --template)'{-m,--template=}'[Path to an application template (can be a filesystem path or URL)]: :->path_or_url' \ --skip-gemfile"[Don't create a Gemfile]" \ --skip-bundle"[Don't run bundle install]" \ - '(-G,--skip-git)'{-G,--skip-git}'[Skip Git ignores and keeps]' \ - '(-O,--skip-active-record)'{-O,--skip-active-record}'[Skip Active Record files]' \ - '(-S,--skip-sprockets)'{-S,--skip-sprockets}'[Skip Sprockets files]' \ - '(-d,--database)'{-d,--database=}'[Preconfigure for selected database]:database:(mysql oracle postgresql sqlite3 frontbase ibm_db sqlserver jdbcmysql jdbcsqlite3 jdbcpostgresql jdbc)' \ - '(-j,--javascript)'{-j,--javascript=}'[Preconfigure for selected JavaScript library]:javascript' \ + '(-G --skip-git)'{-G,--skip-git}'[Skip Git ignores and keeps]' \ + '(-O --skip-active-record)'{-O,--skip-active-record}'[Skip Active Record files]' \ + '(-S --skip-sprockets)'{-S,--skip-sprockets}'[Skip Sprockets files]' \ + '(-d --database)'{-d,--database=}'[Preconfigure for selected database]:database:(mysql oracle postgresql sqlite3 frontbase ibm_db sqlserver jdbcmysql jdbcsqlite3 jdbcpostgresql jdbc)' \ + '(-j --javascript)'{-j,--javascript=}'[Preconfigure for selected JavaScript library]:javascript' \ '(-J --skip-javascript)'{-J,--skip-javascript}'[Skip JavaScript files]' \ --dev'[Setup the application with Gemfile pointing to your Rails checkout]' \ --edge'[Setup the application with Gemfile pointing to Rails repository]' \