Update ffn

This commit is contained in:
cckuan 2021-01-12 21:57:38 +08:00 committed by GitHub
parent c8cd9efb94
commit 563a127147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
# * while given '-d' , do not rename file, only print new
# file name
# Dependency:
# * err.sh
# * nil
# Author:
# * Chang, Chu-Kuan <cckuan@changchukuan.name>
@ -17,8 +17,6 @@
# will be deleted
readonly sep='[]()._-[:blank:]'
. err.sh
help_msg()
{
cat << EOF
@ -109,7 +107,8 @@ while getopts 'dh' opt; do
exit 0
;;
*)
err '1' 'invalid option\n'
printf '%s: invalid option\n' "${progname}"
exit 1
;;
esac
done