Skip to content

Commit

Permalink
Merge pull request jordansissel#249 from vStone/patch-1
Browse files Browse the repository at this point in the history
Update command line options documentation.
  • Loading branch information
jordansissel committed Aug 16, 2012
2 parents 5f4cd75 + 98aeae5 commit 401970a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions lib/fpm/command.rb
Expand Up @@ -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
Expand Down

0 comments on commit 401970a

Please sign in to comment.