[PATCH] samba-tool: treat "samba-tool help X" like "samba-tool X --help"

Andrew Bartlett abartlet at samba.org
Thu Dec 21 03:29:56 UTC 2017


On Thu, 2017-12-21 at 16:21 +1300, Douglas Bagnall via samba-technical
wrote:
> There are two reasons for this:
> 
> 1) it makes browsing the help tree slightly easier. With the help of
> the up-arrow, it is simpler to go:
> 
> $ samba-tool help
> $ samba-tool help drs
> $ samba-tool help drs showrepl
> 
> than
> 
> $ samba-tool --help
> $ samba-tool drs --help
> $ samba-tool drs showrepl --help
> 
> This smallish difference adds up if you are (like me) lazy and ignorant
> about samba-tool commands. (yes, *I* know I could use "-h", but my
> fingers don't).

Reviewed-by: Andrew Bartlett <abartlet at samba.org>

Please push.

Andrew Bartlett

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba







More information about the samba-technical mailing list