better usage prompts

pull/14/head
Tom Early 7 years ago
parent cbb23ea788
commit 58ed90712b

@ -7,6 +7,8 @@ function start () {
sudo make installbase && sudo make install${1} && sudo journalctl -u qn${1} -f
else
echo "usage: start module_name"
echo "Installs the base system and the module_name prefixed with 'qn' and tails the log."
echo "Use this alias on for systems with a single defined module."
fi
}
@ -15,6 +17,8 @@ function stop () {
sudo make uninstallbase && sudo make uninstall${1}
else
echo "usage: stop module_name"
echo "Uninstalls the base system and the module_name prefixed with 'qn'."
echo "Use this alias on for systems with a single defined module."
fi
}
@ -23,5 +27,6 @@ function watch () {
sudo journalctl -u qn${1} -f
else
echo "usage: watch service_name"
echo "Tails the log from the service_name prefixed with 'qn'."
fi
}

Loading…
Cancel
Save

Powered by TurnKey Linux.