contacts-importer: Support --help

Always nice when s.th. ends up in /usr/bin/
This commit is contained in:
Guido Günther 2020-07-23 12:27:56 +02:00
parent ee1801fd45
commit 366a59b044
1 changed files with 13 additions and 0 deletions

View File

@ -3,6 +3,19 @@
# Adapted for the L5 with gnome-contacts
# Original Script: https://www.isticktoit.net/?p=1536
function usage()
{
echo "Usage: $0 <vcard-file>"
exit 0
}
case "$1" in
--help|-h|-?)
usage
;;
esac
#Selecting a file