summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Suratna <dennis.suratna@gmail.com>2017-04-25 11:28:14 -0700
committerDennis Suratna <dennis.suratna@gmail.com>2017-04-25 11:28:14 -0700
commitdb8e8ba5e453eebd4ef77ed59be3b5ebb988a5b2 (patch)
tree6306eb23f46c1cf6185ceb9ab79dc865383eb9af
parent9f00c52f0dce0b5ce4cb3d6e81c83cb628d26bec (diff)
downloadbundler-db8e8ba5e453eebd4ef77ed59be3b5ebb988a5b2.tar.gz
[AddDoc] Revision
-rw-r--r--man/bundle-add.ronn14
1 files changed, 8 insertions, 6 deletions
diff --git a/man/bundle-add.ronn b/man/bundle-add.ronn
index 1c8b2d97af..f0f9b54d8f 100644
--- a/man/bundle-add.ronn
+++ b/man/bundle-add.ronn
@@ -1,20 +1,22 @@
-bundle-add(1) -- Add gem to Gemfile and run bundle install
+bundle-add(1) -- Add gem to the Gemfile and run bundle install
================================================================
## SYNOPSIS
-`bundle add` [--group=GROUP] [--version=VERSION] [--source=SOURCE] [GEM]
+`bundle add` <GEM_NAME> [--group=GROUP] [--version=VERSION] [--source=SOURCE]
## DESCRIPTION
-Adds the named gem to Gemfile and run `bundle install`.
+Adds the named gem to the Gemfile and run `bundle install`.
Example:
-bundle add "rails" --version "< 3.0, > 1.1"
+bundle add rails
-bundle add "rails" --version "~> 5.0.0" --source "https://gems.example.com" --group "development"
+bundle add rails --version "< 3.0, > 1.1"
-bundle add "rails" --group "development, test"
+bundle add rails --version "~> 5.0.0" --source "https://gems.example.com" --group "development"
+
+bundle add rails --group "development, test"
## OPTIONS
* `--version`, `-v`: