Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.oneandone.snmpman;
 
 import  lombok.Getter;
 import  lombok.extern.slf4j.Slf4j;
 
 import java.io.File;

The command-line options for the Snmpman application.
 
@Slf4j
public final class CommandLineOptions {

    
The Snmpman configuration.
    @Option(name = "-c", aliases = "--configuration", usage = "the path to the configuration XML", required = true)
    @Getter private File configurationFile;
    
    
Flag that defines that a help message should be displayed when true.
    @Option(name = "-h", aliases = "--help", usage = "print the help message", help = true)
    @Getter private boolean showHelp = false;
New to GrepCode? Check out our FAQ X