anchor.diff:  @Option(names = {"-h", "--help"}, usageHelp = true, description = "display this help message")
   boolean usageHelpRequested;
   ----
  +
  +.Kotlin
  +[source,kotlin,role="secondary"]
  +----
  +@Option(names = ["-V", "--version"], versionHelp = true, description = ["display version info"])
  +var versionInfoRequested = false
  +
  +@Option(names = ["-h", "--help"], usageHelp = true, description = ["display this help message"])
  +var usageHelpRequested = false
  +----
  +
   Use these attributes for options that request the usage help message or version information to be shown on the console.
   
  -[source,java]
  +.Java
  +[source,java,role="primary"]
   ----
   App app = CommandLine.populateCommand(new App(), args);
   if (app.usageHelpRequested) {
  -   CommandLine.usage(new App(), System.out);
  -   return;
  +    CommandLine.usage(new App(), System.out);
  +    return;
  +}
  +----
  +
  +.Kotlin
  +[source,kotlin,role="secondary"]
  +----
  +val app: App = CommandLine.populateCommand(App(), *args)
  +if (app.usageHelpRequested) {
  +    CommandLine.usage(App(), System.out)
  +    return
   }
   ----
   
  
positive.code: 
  For example:
  
  [source,java]
  ----
  @Option(names = {"-V", "--version"}, versionHelp = true, description = "display version info")
  boolean versionInfoRequested;
  
negative.code: }
  ----
  
  .Kotlin
  [source,kotlin,role="secondary"]
  ----
  import picocli.CommandLine.HelpCommand
  // ...
  
  @Command(name = "myapp", subcommands = [HelpCommand::class, Subcommand::class])
  class MyCommand : Runnable {
      // ...
  }
  ----
  
  For example, the following command prints usage help for a subcommand:
  [source,bash]
  ----
  