diff --git a/crates/nu-command/src/database/commands/into_sqlite.rs b/crates/nu-command/src/database/commands/into_sqlite.rs index 6a7cde0783..924508ef60 100644 --- a/crates/nu-command/src/database/commands/into_sqlite.rs +++ b/crates/nu-command/src/database/commands/into_sqlite.rs @@ -162,7 +162,7 @@ fn operate( ) -> Result { let span = call.head; let file_name: Spanned = call.req(engine_state, stack, 0)?; - let table_name: Option> = call.get_flag(engine_state, stack, "table_name")?; + let table_name: Option> = call.get_flag(engine_state, stack, "table-name")?; let table = Table::new(&file_name, table_name)?; match action(input, table, span) {