@@ -584,13 +584,6 @@ options_t parse_command_line(int argc, char *argv[])
584584 // Tablespace options
585585 // ----------------------------------------------------------------------
586586
587- std::string tablespace_index;
588- app.add_option (" -i,--tablespace-index" , tablespace_index)
589- ->description (" Tablespace for indexes (sets default for "
590- " --tablespace-(main|slim)-index)." )
591- ->option_text (" TBLSPC" )
592- ->group (" Tablespace options" );
593-
594587 app.add_option (" --tablespace-main-data" , options.tblsmain_data )
595588 ->description (" Tablespace for main tables." )
596589 ->option_text (" TBLSPC" )
@@ -661,18 +654,6 @@ options_t parse_command_line(int argc, char *argv[])
661654 options.input_format .clear ();
662655 }
663656
664- if (!tablespace_index.empty ()) {
665- log_warn (
666- " The option -i, --tablespace-index is deprecated. Use "
667- " --tablespace-slim-index and/or --tablespace-main-index instead." );
668- if (options.tblsmain_index .empty ()) {
669- options.tblsmain_index = tablespace_index;
670- }
671- if (options.tblsslim_index .empty ()) {
672- options.tblsslim_index = tablespace_index;
673- }
674- }
675-
676657 if (options.dbschema .empty ()) {
677658 throw std::runtime_error{" Schema can not be empty." };
678659 }
0 commit comments