protected static String formatCommandLineOption ( String name , String value ) { final StringBuilder str = new StringBuilder ( ) ; str . append ( "--" ) ; //$NON-NLS-1$ if ( ! Strings . isNullOrEmpty ( name ) ) { str . append ( name ) ; if ( ! Strings . isNullOrEmpty ( value ) ) { str . append ( "=" ) ; //$NON-NLS-1$ str . append ( value ) ; } } return str . toString ( ) ; }
Replies the string representation of a command - line option .