diff --git a/cli/src/main/groovy/com/jessebrault/ssg/AbstractBuildCommand.groovy b/cli/src/main/groovy/com/jessebrault/ssg/AbstractBuildCommand.groovy index 84ee46f..65ea35e 100644 --- a/cli/src/main/groovy/com/jessebrault/ssg/AbstractBuildCommand.groovy +++ b/cli/src/main/groovy/com/jessebrault/ssg/AbstractBuildCommand.groovy @@ -16,11 +16,12 @@ abstract class AbstractBuildCommand extends AbstractSubCommand { private static final Logger logger = LogManager.getLogger(AbstractBuildCommand) @CommandLine.Option( - names = ['-b', '--build'], + names = ['-b', '--build', '--build-name'], description = 'The name of a build to execute. May be the name of a script (without the .groovy extension) in a build script dir, or a fully-qualified-name of a build script on the classpath or nested in a build script dir.', arity = '1..*', required = true, - paramLabel = 'buildName' + paramLabel = 'buildName', + defaultValue = 'default' ) Set requestedBuilds diff --git a/test-ssg-project/.gitignore b/test-ssg-project/.gitignore index e1eb798..18663ff 100644 --- a/test-ssg-project/.gitignore +++ b/test-ssg-project/.gitignore @@ -2,3 +2,4 @@ bin .ssg testBuild dist +default