echo-sd: Support -h and -f option