Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236443 - dev-ruby/hoe-1.7.0 - Bad usage to sow command
Summary: dev-ruby/hoe-1.7.0 - Bad usage to sow command
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-02 12:21 UTC by cyril mougel
Modified: 2008-09-02 17:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cyril mougel 2008-09-02 12:21:21 UTC
If you want see the help of sow command from hoe gem. You have a wired output :

shingara@slick ~ $ sow -h
usage: /usr/bin [-d|-t] [group] project
  -t = add project to subdir under 'trunk'
  -d = add project to subdir under 'dev'
You must supply a project name on the commandline


The usage is bad.

If you read in code :

/usr/lib/ruby/gems/1.8/gems/hoe-1.7.0/bin/sow

The usage use the  File.dirname($0) like know what command is use. But as it's a extern file that start sow command, there are an error in usage.

Reproducible: Always

Steps to Reproduce:
1. sow -h
2.
3.

Actual Results:  
shingara@slick ~ $ sow -h
usage: /usr/bin [-d|-t] [group] project
  -t = add project to subdir under 'trunk'
  -d = add project to subdir under 'dev'
You must supply a project name on the commandline

Expected Results:  
shingara@slick ~ $ sow -h
usage: /usr/bin/sow [-d|-t] [group] project
  -t = add project to subdir under 'trunk'
  -d = add project to subdir under 'dev'
You must supply a project name on the commandline
Comment 1 Hans de Graaff gentoo-dev Security 2008-09-02 17:11:04 UTC
Please file this bug upstream as it should be fixed there.

We can't currently fix this in Gentoo since we can't properly patch gems.