From db0bfc3be5b8d86466fa7f1a01a72247b4e878aa Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 29 Jan 2024 03:47:56 +0100 Subject: [PATCH] feat: Show default CLI option values --- src/main/kotlin/app/revanced/api/command/StartAPICommand.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/app/revanced/api/command/StartAPICommand.kt b/src/main/kotlin/app/revanced/api/command/StartAPICommand.kt index be7abfb..0aa50ed 100644 --- a/src/main/kotlin/app/revanced/api/command/StartAPICommand.kt +++ b/src/main/kotlin/app/revanced/api/command/StartAPICommand.kt @@ -13,12 +13,14 @@ internal object StartAPICommand : Runnable { @CommandLine.Option( names = ["-h", "--host"], description = ["The host address to bind to."], + showDefaultValue = CommandLine.Help.Visibility.ALWAYS, ) private var host: String = "0.0.0.0" @CommandLine.Option( names = ["-p", "--port"], description = ["The port to listen on."], + showDefaultValue = CommandLine.Help.Visibility.ALWAYS, ) private var port: Int = 8080