args4j icon indicating copy to clipboard operation
args4j copied to clipboard

print usage: print options before arguments, add optional prefix

Open thomas-mc-work opened this issue 8 years ago • 1 comments

  • it's common to print the cli arguments after the options (on some OS it's even mandatory to adhere to this rule)
  • I added an optional parameter to the printSingleLineUsage method to add a custom prefix to the output. This is a convenient shortcut to precede with the invocation of the program itself, e.g. java -jar my-app.jar ...

thomas-mc-work avatar Sep 19 '16 13:09 thomas-mc-work

ping @kohsuke

thomas-mc-work avatar Jun 09 '17 06:06 thomas-mc-work