coreos / torus

Torus Distributed Storage
https://coreos.com/blog/torus-distributed-storage-by-coreos.html
Apache License 2.0
1.78k stars 172 forks source link

categorize command options #332

Open nak3 opened 7 years ago

nak3 commented 7 years ago

commands especially torusd have about 20 options. Categorizing them (like etcd below) would be helpful for users.

$ ./bin/etcd -h

  ... 

member flags:
    --name 'default'
        human-readable name for this member.
    --data-dir '${name}.etcd'
        path to the data directory.

       ...

clustering flags:
    --initial-advertise-peer-urls 'http://localhost:2380'
        list of this member's peer URLs to advertise to the rest of the cluster.

       ...
barakmich commented 7 years ago

You've done a good bit of cleanup around those, but I agree. Like etcd, like kubectl, having full help strings for our binaries would be a good idea.