home-manager: clean up usage help

This commit is contained in:
Robert Helgesson 2017-01-12 22:26:24 +01:00
parent 3d3a3f6d13
commit 8d774ec628
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -52,15 +52,14 @@ function doListPackages() {
}
function doHelp() {
echo "Usage: $0 {help | build CONF | rebuild CONF"
echo " | generations | packages}"
echo "Usage: $0 COMMAND"
echo
echo "Commands"
echo " help Print this help"
echo " build Build configuration into result directory"
echo " switch Build and activate configuration"
echo " generations List all home environment generations"
echo " packages List all packages installed in home-manager-path"
echo " help Print this help"
echo " build CONF Build configuration into result directory"
echo " switch CONF Build and activate configuration"
echo " generations List all home environment generations"
echo " packages List all packages installed in home-manager-path"
}
case "$1" in