RosettaCodeData/Task/Command-line-arguments/Eiffel/command-line-arguments.e
Ingy döt Net 764da6cbbb CDE
2013-04-10 16:57:12 -07:00

17 lines
523 B
Text

class
APPLICATION
inherit
ARGUMENTS
create
make
feature {NONE} -- Initialization
make
-- Print values for arguments with options 'c' and 'h'.
do
print ("Command line argument value for option 'c' is: ")
print (separate_character_option_value ('c') + "%N")
print ("Command line argument value for option 'h' is: ")
print (separate_character_option_value ('h') + "%N")
io.read_line -- Keep console window open
end
end