Compare commits
2 Commits
2b240d873b
...
aa1ead78e1
Author | SHA1 | Date | |
---|---|---|---|
|
aa1ead78e1 | ||
|
9367bab359 |
6
main.go
6
main.go
@ -9,7 +9,7 @@ import (
|
|||||||
"slices"
|
"slices"
|
||||||
)
|
)
|
||||||
|
|
||||||
const VERSION = "v4"
|
const VERSION = "v5"
|
||||||
const MAXLINE = 1048576
|
const MAXLINE = 1048576
|
||||||
|
|
||||||
type Db struct {
|
type Db struct {
|
||||||
@ -68,11 +68,11 @@ func main() {
|
|||||||
dbName := dbMatch[1]
|
dbName := dbMatch[1]
|
||||||
db = NewDb(dbName)
|
db = NewDb(dbName)
|
||||||
if (flagIncludeAll && slices.Contains(flagExcept, dbName)) || (flagExcludeAll && !slices.Contains(flagExcept, dbName)) {
|
if (flagIncludeAll && slices.Contains(flagExcept, dbName)) || (flagExcludeAll && !slices.Contains(flagExcept, dbName)) {
|
||||||
fmt.Printf("Skipping %s\n", dbName)
|
fmt.Printf("Skipping %s\n", dbName)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("Database %s\n", db.Name)
|
fmt.Printf("Extracting %s\n", db.Name)
|
||||||
if flagList {
|
if flagList {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user