Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

added architecture for usage via -help #114

Merged
merged 3 commits into from
Aug 6, 2015
Merged

Conversation

Zandrr
Copy link
Contributor

@Zandrr Zandrr commented Aug 5, 2015

No description provided.

@lpabon
Copy link
Contributor

lpabon commented Aug 5, 2015

Interesting.. I did the following:

$ go run main.go cluster -h
You need a server!
exit status 1

Probably should be able to get help screen without a server being specified.

@lpabon
Copy link
Contributor

lpabon commented Aug 5, 2015

Looking for list help prints info help instead:

$ go run main.go -server sadf cluster list -h
cluster info is a command used for getting more information about a cluster.

Usage:

    heketi -server [server] [options] cluster info [args] 

The args are:

    cluster id    The id of the cluster you want to destroy

Example:

    heketi -server http://localhost:8080 cluster info 0854b5f5405cac5280c7dc479cd0e7fb

@lpabon
Copy link
Contributor

lpabon commented Aug 5, 2015

Nice:

$ go run main.go -server sadf cluster destro -h
Error: Command not found
exit status 1

lpabon pushed a commit that referenced this pull request Aug 6, 2015
added architecture for usage via -help
@lpabon lpabon merged commit ce40304 into heketi:master Aug 6, 2015
@lpabon lpabon removed the review label Aug 6, 2015
@lpabon lpabon added this to the Client Support milestone Aug 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants