Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao1 authored Mar 16, 2023
1 parent b10d5b1 commit bb23ef0
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public void reportHelp(PrintStream ps) {
ps.println();
ps.println("options:");
ps.println(" "+Options.OPTION_GENERATE_SCHEMA);
ps.println(" When specified, automatically creates or updates all schemas derived from the current inReach form.");
ps.println(" When specified, automatically creates or updates");
ps.println(" all schemas derived from the current inReach form.");
ps.println();
CommandHelp.reportGlobalOptions(ps, getExpectedOptions());
}
Expand Down Expand Up @@ -104,8 +105,8 @@ public void runCommand(
JSONObject jsonDef = schemaDefinitionFromForm(form);
String schemaId = form.getPrefix().replace("-", "_") + form.getTitle().replace(" ", "_");
if(null == shouldAddSchema) {
//if --add-schema flag not provided, ask user if they want to create schema or not
System.out.print("Do you want to generate schema for: " + schemaId + "?[N]: ");
// if --generate-schema flag not provided, ask user if they want to create schema or not
System.out.print("Do you want to generate the schema for: " + schemaId + "? (Y/N) [Default: N]: ");
userResponse = scanner.nextLine().toLowerCase();
}

Expand Down

0 comments on commit bb23ef0

Please sign in to comment.