Skip to content

Commit

Permalink
打包发布第一个版本V1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
StackZhao committed Feb 4, 2022
1 parent 730cde2 commit 4b099bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mkrjconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function check_temp_file() {
fi
}
function display_help() {
echo "用法: $0 [参数]"
echo "用法: $(basename $0) [参数]"
echo " -h, --help 输出帮助信息"
echo " -o, --opt-file 指定参数文件(可支持xlsx,csv格式的文件)"
echo " -t, --template-file 指定模板文件"
Expand Down Expand Up @@ -214,11 +214,11 @@ function parse_cmd_line() {
display_help
;;
-o|--opt-file|-o=*|--opt-file=*)
opt_file_name="$(parse_opt_equal_sign "$1" "$2")"
opt_file_name="`readlink -f $(parse_opt_equal_sign "$1" "$2")`"
[[ $? -eq 0 ]] && shift
;;
-t|--template-file|-t=*|--template-file=*)
template_file_name="$(parse_opt_equal_sign "$1" "$2")"
template_file_name="`readlink -f $(parse_opt_equal_sign "$1" "$2")`"
[[ $? -eq 0 ]] && shift
;;
-O|--output-file|-O=*|--output-file=*)
Expand Down

0 comments on commit 4b099bc

Please sign in to comment.