浏览代码

2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Added the preceding ">>> " before the message "Printing the
	contents of file..." to make the output more readable.
	* src/main.cc
Tatsuhiro Tsujikawa 17 年之前
父节点
当前提交
e1a399d419
共有 2 个文件被更改,包括 7 次插入0 次删除
  1. 6 0
      ChangeLog
  2. 1 0
      src/main.cc

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+2008-12-23  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Added the preceding ">>> " before the message "Printing the
+	contents of file..." to make the output more readable.
+	* src/main.cc
+
 2008-12-23  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 2008-12-23  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 
 	Added try-catch block in the loop in showFiles() to continue the
 	Added try-catch block in the loop in showFiles() to continue the

+ 1 - 0
src/main.cc

@@ -125,6 +125,7 @@ static void showFiles(const std::deque<std::string>& uris, const Option* op)
   ProtocolDetector dt;
   ProtocolDetector dt;
   for(std::deque<std::string>::const_iterator i = uris.begin();
   for(std::deque<std::string>::const_iterator i = uris.begin();
       i != uris.end(); ++i) {
       i != uris.end(); ++i) {
+    printf(">>> ");
     printf(MSG_SHOW_FILES, (*i).c_str());
     printf(MSG_SHOW_FILES, (*i).c_str());
     printf("\n");
     printf("\n");
     try {
     try {