Re: ldomctl(8) usage

2017-01-26 Thread Andrew Grillet
Yes. A few lines, but really useful. The man page is for the full details. However, if usage doesnt list all options, you may assume the one you want does not exist, or belongs to some other command, rather than check with the man page. The bikeshed is where school kids go for privacy with the

Re: ldomctl(8) usage

2017-01-26 Thread Stefan Sperling
On Thu, Jan 26, 2017 at 01:37:14PM +, Andrew Grillet wrote: > I am not sure what bikeshedding means in this case (it was all different > when I was at school ;-) http://producingoss.com/en/common-pitfalls.html#bikeshed > However, as an ldomctl user, I would be happier if the usage was

Re: ldomctl(8) usage

2017-01-26 Thread Andrew Grillet
I am not sure what bikeshedding means in this case (it was all different when I was at school ;-) However, as an ldomctl user, I would be happier if the usage was consistent with the man page: it makes everything seem more trustworthy. And once the machine is up and stable, you probably wont be

ldomctl(8) usage

2017-01-26 Thread Stefan Sperling
I am not sure about the best way to fix this, but ldomctl's usage() is rather bogus. It only mentions some of the supported commands. The diff below adds the missing ones. However, I am tempted to just change all of it to something like this: fprintf(stderr, "usage: ldomctl command