Skip to content

Commit 7eba1d3

Browse files
committed
Mark the --name option as required for updateExternalDatabase
1 parent 7f6781e commit 7eba1d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gemma-cli/src/main/java/ubic/gemma/core/apps/ExternalDatabaseUpdaterCli.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ protected void buildOptions( Options options ) {
6060
.longOpt( "name" )
6161
.hasArg()
6262
.optionalArg( false )
63-
.desc( "External database name" ).build() );
63+
.desc( "External database name" )
64+
.required( true ).build() );
6465
options.addOption( DESCRIPTION_OPTION, "description", true, "New description" );
6566
options.addOption( RELEASE_OPTION, "release", false, "Update the release (only affects last modified moment))" );
6667
options.addOption( RELEASE_VERSION_OPTION, "release-version", true, "Release version" );

0 commit comments

Comments
 (0)