summaryrefslogtreecommitdiff
path: root/fml/libexec
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-02-17 01:54:41 +0000
committerfukachan <fukachan>2001-02-17 01:54:41 +0000
commit002c71fc49bfde32ae79cca411977e443ea0ade8 (patch)
treeb8e92298fc76092a4e30522c2883db7d8c97e03f /fml/libexec
parent547557807b0485c5e387109cdf185fba30e18ead (diff)
downloadfml8-002c71fc49bfde32ae79cca411977e443ea0ade8.tar.gz
fml8-002c71fc49bfde32ae79cca411977e443ea0ade8.tar.bz2
fml8-002c71fc49bfde32ae79cca411977e443ea0ade8.zip
"fmldoc" preliminary definition
Diffstat (limited to 'fml/libexec')
-rwxr-xr-xfml/libexec/loader7
-rwxr-xr-xfml/libexec/process_switch2
2 files changed, 6 insertions, 3 deletions
diff --git a/fml/libexec/loader b/fml/libexec/loader
index 54ef7da4..8b970c05 100755
--- a/fml/libexec/loader
+++ b/fml/libexec/loader
@@ -4,7 +4,7 @@
# Copyright (C) 2000-2001 Ken'ichi Fukamachi
# All rights reserved.
#
-# $Id: loader,v 1.8 2001/02/06 11:26:32 fukachan Exp $
+# $Id: loader,v 1.9 2001/02/06 12:07:37 fukachan Exp $
# $FML$
#
@@ -70,7 +70,7 @@ sub Bootstrap
use File::Basename;
my $myname = basename($0);
- # parse command line options
+ # parse command line options (preliminary)
GetOptions(\%options, FML::prepare_myname_options($myname));
# 2.1 o.k. try to load main.cf
@@ -170,6 +170,9 @@ sub prepare_myname_options
elsif ($myname eq 'fmlconf') {
return qw(ctladdr! debug! params=s -c=s n!);
}
+ elsif ($myname eq 'fmldoc') {
+ return qw(ctladdr! debug! params=s -c=s n!);
+ }
else {
croak "$myname is unknown yet\n";
}
diff --git a/fml/libexec/process_switch b/fml/libexec/process_switch
index e07fb4c7..bd6a11ad 100755
--- a/fml/libexec/process_switch
+++ b/fml/libexec/process_switch
@@ -60,7 +60,7 @@ sub _module_we_use
elsif ($name eq 'fmlserv') {
$pkg = 'FML::Process::ListServer';
}
- elsif ($name eq 'fmlconf' || $name eq 'makefml') {
+ elsif ($name eq 'fmlconf' || $name eq 'fmldoc' || $name eq 'makefml') {
$pkg = 'FML::Process::Configure';
}
elsif ($name eq 'fmlticket') {