Bug 454064 - spacewalk-setup does not show help
spacewalk-setup does not show help
Status: CLOSED CURRENTRELEASE
Product: Spacewalk
Classification: Community
Component: Installation (Show other bugs)
0.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jan Pazdziora
Red Hat Satellite QA List
: Reopened
Depends On:
Blocks: space02
  Show dependency treegraph
 
Reported: 2008-07-04 04:37 EDT by Satoru SATOH
Modified: 2009-09-17 02:59 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-09-17 02:59:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
A dirty hack for spacewalk-setup to show its help text (1.29 KB, patch)
2008-07-04 04:38 EDT, Satoru SATOH
no flags Details | Diff
Simplified version of the patch. (654 bytes, patch)
2008-07-07 11:03 EDT, Jan Pazdziora
no flags Details | Diff
Even better -- let's not put the hardcoded package name there. (696 bytes, patch)
2008-07-07 11:08 EDT, Jan Pazdziora
no flags Details | Diff

  None (edit)
Description Satoru SATOH 2008-07-04 04:37:21 EDT
Description of problem:
Spacewalk-setup does not show its help. So there is no way to know its options
except for reading Spacewalk::Setup code.


Version-Release number of selected component (if applicable):
spacewalk-setup-0.01-3.el5.src.rpm


How reproducible: always


Steps to Reproduce:
1. spacewalk-setup --help
2.
3.
  
Actual results:
no help messages.


Expected results:
its help shown.


Additional info:

I'll attach a dirty, quickly hacked and halfway workaround patch for this issue. 

I have little experience with perl and it should be unrefined. Correct way to 
fix this problem might be writing complete POD text in bin/spacewalk, I think.
Comment 1 Satoru SATOH 2008-07-04 04:38:54 EDT
Created attachment 311017 [details]
A dirty hack for spacewalk-setup to show its help text
Comment 2 Jan Pazdziora 2008-07-07 11:03:13 EDT
Created attachment 311169 [details]
Simplified version of the patch.

I've simplified the patch a bit. The trouble is -- Spacewalk::Setup only seems
to have the boilerplate POD, not any meaningful docs.
Comment 3 Jan Pazdziora 2008-07-07 11:08:56 EDT
Created attachment 311172 [details]
Even better -- let's not put the hardcoded package name there.
Comment 4 Jan Pazdziora 2008-07-07 11:30:46 EDT
Changes committed to git:
413beb9bb7337b6897609f3d236480696c80ad0e
5c6b1503066bed21c4ef70f119ef8e18991d2684

More proofreading will be needed eventually.

Thank you for the bug report.
Comment 5 Satoru SATOH 2008-07-10 04:53:35 EDT
I confirmed it works as expected. Thanks for your quick work! 
I'll close this.
Comment 6 Jan Pazdziora 2008-07-10 05:31:27 EDT
Let me keep this bugzilla open for a while in MODIFIED state, to verify that it
got to the next package build / release.
Comment 7 Devan Goodwin 2008-09-05 10:29:01 EDT
Looks good in spacewalk 0.2. My apologies, forgot to check --help when I was re-organizing the installer code into spacewalk-setup. :)
Comment 8 Miroslav Suchý 2009-09-17 02:59:27 EDT
Spacewalk is released for long time.

Note You need to log in before you can comment on or make changes to this bug.