contacts-importer: Support --help
Always nice when s.th. ends up in /usr/bin/
This commit is contained in:
parent
ee1801fd45
commit
366a59b044
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue