Package org.codehaus.plexus.util.cli
Class Commandline.Marker
java.lang.Object
org.codehaus.plexus.util.cli.Commandline.Marker
- Enclosing class:
- Commandline
Class to keep track of the position of an Argument.
-
Method Summary
Modifier and TypeMethodDescriptionintReturn the number of arguments that preceded this marker.
-
Method Details
-
getPosition
public int getPosition()Return the number of arguments that preceded this marker.
The name of the executable - if set - is counted as the very first argument.
-