Fix table prefix flags

This commit is contained in:
ming
2021-01-30 09:48:29 +08:00
parent 04a1abaed7
commit fe36f6e3cf

View File

@@ -115,6 +115,6 @@ func MergeMysqlDbInfo() {
config.SetIsGUI(ig)
tablePrefix := config.GetTablePrefix()
mycobra.IfReplace(rootCmd, "tablePrefix", &tablePrefix) // 如果设置了,更新
mycobra.IfReplace(rootCmd, "table_prefix", &tablePrefix) // 如果设置了,更新
config.SetTablePrefix(tablePrefix)
}