|
|
@ -26,7 +26,7 @@ func main() { |
|
|
// 从上下文中读取发送的文件
|
|
|
// 从上下文中读取发送的文件
|
|
|
args := os.Args |
|
|
args := os.Args |
|
|
if args == nil || len(args) < 2 { |
|
|
if args == nil || len(args) < 2 { |
|
|
fmt.Printf("Usage: ./mtool -c demo.tar.gz -f /www/mail.conf \n") |
|
|
fmt.Printf("Usage: ./mtool -f demo.tar.gz -c /www/mail.conf \n") |
|
|
os.Exit(1) |
|
|
os.Exit(1) |
|
|
} |
|
|
} |
|
|
//操作配置文件
|
|
|
//操作配置文件
|
|
|
|