ubuntu / zsys

ZSys daemon and client for zfs systems
GNU General Public License v3.0
301 stars 43 forks source link

Add Short description to command aliases #239

Closed introt closed 1 year ago

introt commented 1 year ago

Improves #238 by adding the Short description to aliases; for example,

Alias of zsysctl state save

becomes

Alias of zsysctl state save. Saves the current state of the machine. By default it saves only the user state. state_id is generated if not provided.
introt commented 1 year ago

Caveat: I haven't tried this, patch is based on looking at some search results: https://github.com/search?l=Go&q=cmd.Short+cmd.CommandPath%28%29&type=Code