You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: KradfileToSQLite/KradfileToSQLite.py
+2-2
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ def parse_cmdline():
13
13
parser.add_argument("--kradfile2", help="path to the kradfile2", default="kradfile2")
14
14
parser.add_argument("--sqlitefile", help="path to the sqlite database to create", required=True)
15
15
parser.add_argument("--dbtableprefix", help="prefix of db tables (ex. krad)", default="krad")
16
-
parser.add_argument("--appendtables", help="append tables into an existing database file")
16
+
parser.add_argument("--appendtables", help="append tables into an existing database file", action="store_true")
17
17
returnparser.parse_args()
18
18
19
19
@@ -107,7 +107,7 @@ def main():
107
107
# Example query for get the list kanji having specific radical
108
108
# select data from kanji, kanji_radical where kanji.rowid = kanji_radical.kanji_id and kanji_radical.radical_id = (select rowid from radicals where data = '田')
Copy file name to clipboardexpand all lines: RadkfileToSQLite/RadkfileToSQLite.py
+2-2
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ def parse_cmdline():
13
13
parser.add_argument("--radkfile2", help="path to the radkfile2", default="radkfile2")
14
14
parser.add_argument("--sqlitefile", help="path to the sqlite database to create", required=True)
15
15
parser.add_argument("--dbtableprefix", help="prefix of db tables (ex. radk)", default="radk")
16
-
parser.add_argument("--appendtables", help="append tables into an existing database file")
16
+
parser.add_argument("--appendtables", help="append tables into an existing database file", action="store_true")
17
17
returnparser.parse_args()
18
18
19
19
@@ -124,7 +124,7 @@ def main():
124
124
# Example query for get the list kanji having specific radical
125
125
# select data from kanji, kanji_radical where kanji.rowid = kanji_radical.kanji_id and kanji_radical.radical_id = (select rowid from radicals where data = '田')
0 commit comments