shell Usage

Posted chenzechao

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了shell Usage相关的知识,希望对你有一定的参考价值。

 

Usage()
    cat <<EOF

Usage:
    $0 [tenant]
    
    $0                   (Run database table check_table_data_config all tenants)
    $0 mycommunity_agile (Run database table check_table_data_config of mycommunity_agile,if not exists,it will not run)
    $0 -h                (Display this document)

EOF
    exit 1


# 显示帮助 [
"$1" = "-h" ] && Usage echo "not end"

 

以上是关于shell Usage的主要内容,如果未能解决你的问题,请参考以下文章