mirror of
https://github.com/jimeh/dotify.git
synced 2026-02-19 01:56:39 +00:00
Add some comments
This commit is contained in:
@@ -86,16 +86,19 @@ for arg in "$@"; do
|
||||
fi
|
||||
done
|
||||
|
||||
# Show help and exit if help arguments or command are given.
|
||||
if [ -n "$HELP" ] || [ "$command" == "help" ]; then
|
||||
dotify-help
|
||||
exit
|
||||
fi
|
||||
|
||||
# Show version info and exit if version arguments or command are given.
|
||||
if [ -n "$VERSION" ] || [ "$command" == "version" ]; then
|
||||
dotify-help | head -1
|
||||
exit
|
||||
fi
|
||||
|
||||
# Deal with the commands.
|
||||
case "$command" in
|
||||
"info" )
|
||||
dotify-info
|
||||
|
||||
Reference in New Issue
Block a user