Skip to content

Commit

Permalink
Mark the --name option as required for updateExternalDatabase
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Jan 16, 2023
1 parent db089a7 commit bae329b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ protected void buildOptions( Options options ) {
.longOpt( "name" )
.hasArg()
.optionalArg( false )
.desc( "External database name" ).build() );
.desc( "External database name" )
.required( true ).build() );
options.addOption( DESCRIPTION_OPTION, "description", true, "New description" );
options.addOption( RELEASE_OPTION, "release", false, "Update the release (only affects last modified moment))" );
options.addOption( RELEASE_VERSION_OPTION, "release-version", true, "Release version" );
Expand Down

0 comments on commit bae329b

Please sign in to comment.