Skip to content

Commit

Permalink
suggest full variants
Browse files Browse the repository at this point in the history
  • Loading branch information
burdoto committed Jul 27, 2024
1 parent 306089f commit 0682e0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/comroid/api/func/util/Command.java
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ public Stream<String> autoFill(Usage usage, String argName, String currentValue)
if (!currentValue.isEmpty()) {
var last = chars[chars.length - 1];
if (Character.isDigit(last))
return of("m", "h", "d", "w", "mo", "y")
return of("min", "h", "d", "w", "mon", "y")
.distinct()
.map(suffix -> currentValue + suffix);
}
return of("5m", "6h", "3d", "2w", "1y");
return of("5m", "6h", "3d", "2w", "6mon", "1y");
}
}

Expand Down

0 comments on commit 0682e0c

Please sign in to comment.