summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmjith Ramanujam <amjith@netflix.com>2024-11-11 06:50:52 -0800
committerAmjith Ramanujam <amjith@netflix.com>2024-11-11 06:50:52 -0800
commit3126eeb0a3ab51de6326428763321d03bcc77272 (patch)
tree77e765a3c595b2f68155890bb001b7d20bddf693
parente58bbcd3c7e498e2efd3cd85e0b9ae5437a440a6 (diff)
Fix the \d command syntax error.
-rw-r--r--litecli/packages/special/dbcommands.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/litecli/packages/special/dbcommands.py b/litecli/packages/special/dbcommands.py
index c0ed7e4..d779764 100644
--- a/litecli/packages/special/dbcommands.py
+++ b/litecli/packages/special/dbcommands.py
@@ -215,10 +215,9 @@ def load_extension(cur, arg, **_):
)
def describe(cur, arg, **_):
if arg:
- args = (arg,)
query = """
PRAGMA table_info({})
- """.format(args)
+ """.format(arg)
else:
return list_tables(cur)