Short option for --summary-string in 'type summary add' is now -s. This might be a breaking change for those who have summaries defined.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138331 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/examples/summaries/essentials b/examples/summaries/essentials
index 94a15c3..85e87e2 100644
--- a/examples/summaries/essentials
+++ b/examples/summaries/essentials
@@ -1,2 +1,5 @@
-type summary add -f "${var._M_dataplus._M_p}" std::string std::basic_string<char> "std::basic_string<char,std::char_traits<char>,std::allocator<char> >"
-type summary add -f "\"${var%@}\"" "NSString *"
+type summary add -s "${var._M_dataplus._M_p}" std::string std::basic_string<char> "std::basic_string<char,std::char_traits<char>,std::allocator<char> >"
+type summary add -s "\"${var%@}\"" "NSString *"
+type summary add -s "${svar%#} items" -e -x std::map<
+type summary add -s "${svar%#} items" -e -x std::vector<
+type summary add -s "${svar%#} items" -e -x std::list<
diff --git a/examples/summaries/lldb b/examples/summaries/lldb
index 6b8d280..77a3d1f 100644
--- a/examples/summaries/lldb
+++ b/examples/summaries/lldb
@@ -1,15 +1,15 @@
-type summary add -w lldb lldb_private::Error -f "Type: ${var.m_type%E}, Code: ${var.m_code}, Message: ${var.m_string}"
-type summary add -w lldb lldb_private::ConstString -f "${var.m_string}"
-type summary add -w lldb lldb_private::Language -f "${var.m_language%E}"
-type summary add -w lldb lldb_private::RegularExpression -f "${var.m_re}"
-type summary add -w lldb lldb_private::UserID -f "UserID(${var.m_uid})"
-type summary add -w lldb lldb_private::ValueObject -f "${var.m_name}"
-type summary add -w lldb lldb_private::ValueObjectSP -f "${var.ptr_.m_name}"
-type summary add -w lldb lldb_private::ValueObjectRegister -f "${var.m_reg_info.name}"
-type summary add -w lldb lldb_private::ClangExpression -f "{${var.m_expr_text}}"
-type summary add -w lldb lldb_private::CommandObject -f "Command name: ${var.m_cmd_name}"
-type summary add -w lldb lldb_private::Variable -f "${var.m_type.m_name} ${var.m_name}"
-type summary add -w lldb lldb_private::StopInfo -f "ID: ${var.m_stop_id}, ${var.m_description}"
-type summary add -w lldb lldb_private::FileSpec -f "file: ${var.m_filename} dir: ${var.m_directory}"
-type summary add -w lldb -v lldb::ConnectionStatus -f "[enum=${var%E} val=${var%i}]"
+type summary add -w lldb lldb_private::Error -s "Type: ${var.m_type%E}, Code: ${var.m_code}, Message: ${var.m_string}"
+type summary add -w lldb lldb_private::ConstString -s "${var.m_string}"
+type summary add -w lldb lldb_private::Language -s "${var.m_language%E}"
+type summary add -w lldb lldb_private::RegularExpression -s "${var.m_re}"
+type summary add -w lldb lldb_private::UserID -s "UserID(${var.m_uid})"
+type summary add -w lldb lldb_private::ValueObject -s "${var.m_name}"
+type summary add -w lldb lldb_private::ValueObjectSP -s "${var.ptr_.m_name}"
+type summary add -w lldb lldb_private::ValueObjectRegister -s "${var.m_reg_info.name}"
+type summary add -w lldb lldb_private::ClangExpression -s "{${var.m_expr_text}}"
+type summary add -w lldb lldb_private::CommandObject -s "Command name: ${var.m_cmd_name}"
+type summary add -w lldb lldb_private::Variable -s "${var.m_type.m_name} ${var.m_name}"
+type summary add -w lldb lldb_private::StopInfo -s "ID: ${var.m_stop_id}, ${var.m_description}"
+type summary add -w lldb lldb_private::FileSpec -s "file: ${var.m_filename} dir: ${var.m_directory}"
+type summary add -w lldb -v lldb::ConnectionStatus -s "[enum=${var%E} val=${var%i}]"
# Where '-v' tells type summary not to show the value itself, but just use the summary format.