[DRE-commits] [gem2deb] 04/05: dh_ruby: clarify usage message

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Nov 13 16:37:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository gem2deb.

commit 0b79dc6e48168446a2d83472165f1e671ea49ddb
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Nov 11 15:18:38 2015 -0200

    dh_ruby: clarify usage message
---
 bin/dh_ruby      | 3 ++-
 debian/changelog | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/dh_ruby b/bin/dh_ruby
index 5f2997a..e4e7b65 100755
--- a/bin/dh_ruby
+++ b/bin/dh_ruby
@@ -32,7 +32,7 @@ engine = Gem2Deb::DhRuby.new
 action = nil
 
 optparse = OptionParser.new do |opts|
-  opts.banner = "Usage: dh_ruby [OPTIONS]"
+  opts.banner = "Usage: dh_ruby [OPTIONS] ACTION"
   opts.separator "Options:"
 
   opts.on('-h', '--help', 'show help') do
@@ -60,6 +60,7 @@ optparse = OptionParser.new do |opts|
     exit
   end
 
+  opts.separator "ACTION must be one of:"
   opts.on('--clean', 'debhelper clean helper') do
     action = :clean
   end
diff --git a/debian/changelog b/debian/changelog
index 4022c52..5326a30 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ gem2deb (0.23) UNRELEASED; urgency=medium
     - take parameters from the $DH_RUBY environment variable
     - add experimental support for installing packages as gems.
     - allow options to be passed in any order
+    - clarify usage message
 
  -- Antonio Terceiro <terceiro at debian.org>  Wed, 11 Nov 2015 14:50:13 -0200
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git



More information about the Pkg-ruby-extras-commits mailing list