Skip Menu |

This queue is for tickets about the App-SD CPAN distribution.

Report information
The Basics
Id: 62408
Status: resolved
Priority: 0/
Queue: App-SD

People
Owner: Nobody in particular
Requestors: nash [...] nash.id.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Make -h more discoverable
Date: Sun, 24 Oct 2010 16:39:31 +1100
To: bug-App-SD [...] rt.cpan.org
From: Brett Nash <nash [...] nash.id.au>
Show quoted text
> No (documented) way of changing the port. > --port seems to work > > Right. I added a 'browser' help entry; there's also the ability to do > e.g. "sd <command> -h" to get a usage summary, which documents --port > already. Suggestions on how to make -h's existence more obvious > welcome.
The obvious way would be: % sd help ... Running 'sd help' on a specific command should also redirect you to the proper help file. Help on specific commands can be found with sd command -h % Or similar wording. Regards, nash
I've just now committed the following patch: diff --git a/lib/App/SD/CLI/Command/Help.pm b/lib/App/SD/CLI/Command/Help.pm index 5f21a57..5442604 100644 --- a/lib/App/SD/CLI/Command/Help.pm +++ b/lib/App/SD/CLI/Command/Help.pm @@ -61,6 +61,9 @@ ${cmd}help settings - Database configuration variables Running '${cmd}help' on a specific command should also redirect you to the proper help file. +You can also get a brief summary of usage (options and arguments) for +a given command with '${cmd}<command> -h'. + EOF } I think this resolves this ticket. Thanks for your report! Christine