diff --git a/newfol b/newfol index fb5f26b..f1de7f9 100755 --- a/newfol +++ b/newfol @@ -780,7 +780,7 @@ class TableListView(ListView): dbs.append(table) content = urwid.SimpleListWalker([ self.text(w, "item", "focused-item") for w in dbs]) - return self._render_listview("List of available sub-databases", dbs, + return self._render_listview("List of available tables", dbs, content) def _rerender_listview(self): # Punt on this one. The list walker can only increase in size and @@ -1035,7 +1035,7 @@ def export_from(db, table, dbtype): def parse_args(args): parser = argparse.ArgumentParser(description="store and manipulate fol") parser.add_argument("--import", dest="cmd", action="store_const", - const="import", help="import a database") + const="import", help="import a table") parser.add_argument("--test", dest="cmd", action="store_const", const="test", help="test this program") parser.add_argument("--version", dest="cmd", action="store_const", @@ -1045,7 +1045,7 @@ def parse_args(args): parser.add_argument("--repair", dest="cmd", action="store_const", const="repair", help="repair the database automatically") parser.add_argument("--export", "--extract", dest="cmd", - action="store_const", const="export", help="export a database") + action="store_const", const="export", help="export a table") parser.add_argument("--dbname", dest="dbname", action="store", help="table name (obsolescent)") parser.add_argument("--table", dest="table", action="store", @@ -1066,7 +1066,7 @@ def parse_args(args): parser.add_argument("--txntype", dest="txntype", action="store", default=None, help="type of transactional helper") parser.add_argument("--dbtype", dest="dbtype", action="store", - default="csv", help="type of database for import/export") + default="csv", help="type of data for import/export") parser.add_argument("--upgrade-version", dest="upgrade_version", action="store", default=DatabaseVersion.preferred(), type=int, help="version of database to upgrade to (advanced)")