码迷,mamicode.com
首页 > 系统相关 > 详细

shell Usage

时间:2019-07-17 09:25:46      阅读:118      评论:0      收藏:0      [点我收藏+]

标签:com   nan   帮助   not run   splay   comm   conf   显示   exist   

 

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

标签:com   nan   帮助   not run   splay   comm   conf   显示   exist   

原文地址:https://www.cnblogs.com/chenzechao/p/11198786.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!