![JAR search and dependency download from the Maven repository](/logo.png)
eu.tneitzel.argparse4j.global.modifiers.MetaVar Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of argparse4j Show documentation
Show all versions of argparse4j Show documentation
Fork of the popular command line parser library argparse4j
The newest version!
package eu.tneitzel.argparse4j.global.modifiers;
import eu.tneitzel.argparse4j.inf.Argument;
/**
* MetaVar is used to configure meta variables displayed by argparse4j.
*
* @author Tobias Neitzel (@qtc_de)
*/
public class MetaVar implements IArgumentModifier
{
private final String name;
/**
* Configure the meta variable.
*
* @param name the name of the meta variable
*/
public MetaVar(String name)
{
this.name = name;
}
public void apply(Argument arg)
{
arg.metavar(name);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy