+all=false
+force=false
+uid="$UID"
+help=false
+
+set -- $(getopt -l all,force,help,uid: -s afhu: -n afm-util -- "$@")
+while :
+do
+ case "$1" in
+ -a|--all) all=true; shift;;
+ -f|--force) force=true; shift;;
+ -h|--help) help=true; shift;;
+ -u|--uid) uid="$2"; shift 2;;
+ --) shift; break;;
+ *) help=true; break;;
+ esac
+done
+