Argument | |
Argument_Count | |
Command_Name |
This package allows a program to obtain the values of its arguments and the name that it was invoked with in an encoding-aware way. It is assumed that the command name and the arguments are encoded in the encoding that OS.OS_Encoding reports.
37 | function Argument (Number : in Positive) return EAstring; |
---|
Returns the argument at position Number. If Number is outside the range 1..Argument_Count, then Constraint_Error is propagated.
33 | function Argument_Count return Natural renames |
---|---|
34 | Ada.Command_Line.Argument_Count; |
Returns the number of strings passed as arguments to the program.
41 | function Command_Name return EAstring; |
---|
Returns the name of the command that invoked the program.