Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #249 from vStone/patch-1

Update command line options documentation.
  • Loading branch information...
commit 94d9e76640d2911e537a3473e7cd371d617f36a4 2 parents 390ab22 + f51cca2
@jordansissel authored
Showing with 9 additions and 4 deletions.
  1. +9 −4 lib/fpm/command.rb
View
13 lib/fpm/command.rb
@@ -61,24 +61,29 @@ class FPM::Command < Clamp::Command
@dependencies << val
end # -d / --depends
option "--provides", "PROVIDES",
- "What this package provides (usually a name)" do |val|
+ "What this package provides (usually a name). This flag can be "\
+ "specified multiple times." do |val|
@provides ||= []
@provides << val
end # --provides
option "--conflicts", "CONFLICTS",
- "Other packages/versions this package conflicts with" do |val|
+ "Other packages/versions this package conflicts with. This flag can " \
+ "specified multiple times." do |val|
@conflicts ||= []
@conflicts << val
end # --conflicts
option "--replaces", "REPLACES",
- "Other packages/versions this package replaces" do |val|
+ "Other packages/versions this package replaces. This flag can be "\
+ "specified multiple times." do |val|
@replaces ||= []
@replaces << val
end # --replaces
option "--config-files", "CONFIG_FILES",
"Mark a file in the package as being a config file. This uses 'conffiles'" \
" in debs and %config in rpm. You can specify a directory to have it " \
- "scanned marking all files found as config files" do |val|
+ "scanned marking all files found as config files. If you have multiple " \
+ "files to mark as configuration files, specify this flag multiple times." \
+ do |val|
@config_files ||= []
@config_files << val
end # --config-files
Please sign in to comment.
Something went wrong with that request. Please try again.