Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (9 sloc) 166 Bytes
#!/usr/bin/env bash
#source optimist.sh into your bash script
#
. optimist.sh
. <(argv "$@")
for key in ${!argv_*}; do
value="${!key}"
echo "$key"="$value"
done