From 55efaef45e2e7fc97d34d443f7deafa3b8ead0c2 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Wed, 7 Oct 2015 00:25:33 -0700 Subject: [PATCH] Reorder the args alphabetically. --- src/main/kotlin/com/beust/kobalt/Args.kt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/main/kotlin/com/beust/kobalt/Args.kt b/src/main/kotlin/com/beust/kobalt/Args.kt index dbe2d1b5..bf5d7ce6 100644 --- a/src/main/kotlin/com/beust/kobalt/Args.kt +++ b/src/main/kotlin/com/beust/kobalt/Args.kt @@ -9,21 +9,22 @@ class Args { @Parameter(names = arrayOf("-bf", "--buildFile"), description = "The build file") var buildFile: String? = null + @Parameter(names = arrayOf("--checkVersions"), description = "Check if there are any newer versions of the " + + "dependencies") + var checkVersions = false + @Parameter(names = arrayOf("--dryRun"), description = "Display all the tasks that will get run without " + "actually running them") var dryRun: Boolean = false - @Parameter(names = arrayOf("--tasks"), description = "Display the tasks available for this build") - var tasks: Boolean = false + @Parameter(names = arrayOf("-i", "--init"), description = "Create a new build file based on the current project") + var init: Boolean = false @Parameter(names = arrayOf("--log"), description = "Define the log level (1-3)") var log: Int = 1 - @Parameter(names = arrayOf("-i", "--init"), description = "Create a new build file based on the current project") - var init: Boolean = false + @Parameter(names = arrayOf("--tasks"), description = "Display the tasks available for this build") + var tasks: Boolean = false - @Parameter(names = arrayOf("--checkVersions"), description = "Check if there are any newer versions of the " + - "dependencies") - var checkVersions = false }