summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/Project.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2006-10-14 01:32:18 +0000
committerfukachan <fukachan>2006-10-14 01:32:18 +0000
commit4fc8c2a7fd0b4e5fd05b4b4278aee08ab3d509d5 (patch)
tree1807b051ec35634b1abe3d2133a0fe6f25e39c6f /fml/lib/FML/Process/Project.pm
parentfde106d53c639085758133b4b30c6311b0c987bf (diff)
downloadfml8-4fc8c2a7fd0b4e5fd05b4b4278aee08ab3d509d5.tar.gz
fml8-4fc8c2a7fd0b4e5fd05b4b4278aee08ab3d509d5.tar.bz2
fml8-4fc8c2a7fd0b4e5fd05b4b4278aee08ab3d509d5.zip
fmlproj: GanttProject XML format extension.
--xml options dump GanttProject XML format by default.
Diffstat (limited to 'fml/lib/FML/Process/Project.pm')
-rw-r--r--fml/lib/FML/Process/Project.pm13
1 files changed, 10 insertions, 3 deletions
diff --git a/fml/lib/FML/Process/Project.pm b/fml/lib/FML/Process/Project.pm
index dae9247e..94f62a33 100644
--- a/fml/lib/FML/Process/Project.pm
+++ b/fml/lib/FML/Process/Project.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2006 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: Project.pm,v 1.2 2006/07/09 12:11:13 fukachan Exp $
+# $FML: Project.pm,v 1.3 2006/10/10 09:53:22 fukachan Exp $
#
package FML::Process::Project;
@@ -137,8 +137,11 @@ sub run
elsif (defined $option->{ csv }) {
$proj->print_as_csv();
}
+ elsif (defined $option->{ xml }) {
+ $proj->print_as_xml();
+ }
else {
- $proj->print_as_csv();
+ $proj->print_as_xml();
}
}
@@ -159,10 +162,14 @@ sub help
print <<"_EOF_";
-Usage: $name [--debug] [--html] [--csv]
+Usage: $name [--debug] [--html] [--csv] [--xml]
--debug debug mode on
+--html dump data as html table format
+--csv dump data as CSV
+--xml dump data as GanttProject xml format
+
_EOF_
}