diff options
| author | fukachan <fukachan> | 2004-03-23 04:20:45 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2004-03-23 04:20:45 +0000 |
| commit | 3f632b97f6213e8d651ebe52ddba0b99062f67bf (patch) | |
| tree | 119de4e5a4d20edbc60a7c4f2bf0b2e3faeca5fa /fml/lib/FML/Process | |
| parent | 5936b223da8db7680e62e68752d04c54d6772245 (diff) | |
| download | fml8-3f632b97f6213e8d651ebe52ddba0b99062f67bf.tar.gz fml8-3f632b97f6213e8d651ebe52ddba0b99062f67bf.tar.bz2 fml8-3f632b97f6213e8d651ebe52ddba0b99062f67bf.zip | |
try to allow -O key=value command line options. Internally each
function uses cui_command_specific_options() to get the command
specific options.
Diffstat (limited to 'fml/lib/FML/Process')
| -rw-r--r-- | fml/lib/FML/Process/Utils.pm | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/fml/lib/FML/Process/Utils.pm b/fml/lib/FML/Process/Utils.pm index 4300d987..b031e4d3 100644 --- a/fml/lib/FML/Process/Utils.pm +++ b/fml/lib/FML/Process/Utils.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Utils.pm,v 1.107 2004/02/27 22:17:40 fukachan Exp $ +# $FML: Utils.pm,v 1.108 2004/03/13 10:27:43 fukachan Exp $ # package FML::Process::Utils; @@ -801,6 +801,19 @@ sub command_line_options } +# Descriptions: return comman specific options (-O key=value) as HASH_REF. +# Arguments: OBJ($curproc) +# Side Effects: none +# Return Value: HASH_REF +sub cui_command_specific_options +{ + my ($curproc) = @_; + my $args = $curproc->{ __parent_args }; + + return( $args->{ options }->{ O } || {} ); +} + + =head2 set_config_files_list($cf_file_path_array) set configuration file (.cf) to internal list. |
