@@ -228,21 +228,37 @@ public int recover(long jobExecutionId) {
228228 }
229229 }
230230
231- /*
231+ // @formatter:off
232+ /**
232233 * Main method to operate jobs from the command line.
233- *
234- * Usage: java org.springframework.batch.core.launch.support.CommandLineJobOperator \
235- * fully.qualified.name.of.JobConfigurationClass \ operation \ parameters \
236- *
237- * where operation is one of the following: - start jobName [jobParameters] -
238- * startNextInstance jobName - restart jobExecutionId - stop jobExecutionId - abandon
239- * jobExecutionId
240- *
241- * and jobParameters are key-value pairs in the form name=value,type,identifying.
242- *
243- * Exit status: - 0: Job completed successfully - 1: Job failed to (re)start or an
244- * error occurred - 2: Job configuration class not found
234+ * <p>
235+ * Usage:
236+ * <code>
237+ * java org.springframework.batch.core.launch.support.CommandLineJobOperator \
238+ * fully.qualified.name.of.JobConfigurationClass \
239+ * operation \
240+ * parameters
241+ * </code>
242+ * <p>
243+ * where <code>operation</code> is one of the following:
244+ * <ul>
245+ * <li>start jobName <code>[jobParameters]</code></li>
246+ * <li>startNextInstance jobName</li>
247+ * <li>restart jobExecutionId</li>
248+ * <li>stop jobExecutionId</li>
249+ * <li>abandon jobExecutionId</li>
250+ * </ul>
251+ * <p>
252+ * and <code>jobParameters</code> are key-value pairs in the form name=value,type,identifying.
253+ * <p>
254+ * Exit status:
255+ * <ul>
256+ * <li>0: Job completed successfully</li>
257+ * <li>1: Job failed to (re)start or an error occurred</li>
258+ * <li>2: Job configuration class not found</li>
259+ * </ul>
245260 */
261+ // @formatter:on
246262 public static void main (String [] args ) {
247263 if (args .length < 3 ) {
248264 String usage = """
0 commit comments