karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Lichtin <lich...@yahoo.com>
Subject Command completion not working as expected
Date Mon, 08 Apr 2019 07:26:37 GMT
Hi

Having a problem with Karaf command arguments completion, it seems to not work for 3 arguments?
Something like

  @Argument(index = 0, required = true, description = "A1")
  @Completion(A1Completer.class)
  private String a1;
  @Argument(index = 1, required = true, description = "A2")
  @Completion(A2Completer.class)
  private String a2;
  @Argument(index = 2, required = true, description = "A3")
  @Completion(A3Completer.class)
  private String a3;

works only up to the 2nd argument, but the third completer is never called, instead A2Completer
is called again.
Anyone else seeing this? It's with Karaf 4.1.7

- Martin

Mime
View raw message