pspp-convert: Add options for selecting variables and controlling output.
[pspp] / src / language / command.c
index 0a198bc94c4f6015c128477cd9641abc42136030..cfe4ecf14bc6ae1c8451fed256bcac33a17dc506 100644 (file)
@@ -38,7 +38,6 @@
 #include "libpspp/str.h"
 #include "output/group-item.h"
 
-#include "xalloc.h"
 #include "xmalloca.h"
 
 #include "gettext.h"
@@ -199,7 +198,8 @@ do_parse_command (struct lexer *lexer,
       result = CMD_FAILURE;
       goto finish;
     }
-  group_open_item_submit (group_open_item_create (command->name));
+  group_open_item_submit (group_open_item_create_nocopy (
+                            utf8_to_title (command->name)));
   opened = true;
 
   if (command->function == NULL)