fl_print_format(" %[%Q%]", output.stream, context.set.standout, name, context.set.standout);
fl_print_format(" %[[%] options %[]%]", output.stream, context.set.notable, context.set.notable, context.set.notable, context.set.notable);
- fl_print_format(" %[[%] %Q", output.stream, context.set.notable, context.set.notable, parameters);
- fl_print_format(" %[]%]%r%r", output.stream, context.set.notable, context.set.notable, f_string_eol_s, f_string_eol_s);
+
+ if (parameters.used) {
+ fl_print_format(" %[[%] %Q %[]%]", output.stream, context.set.notable, context.set.notable, parameters, context.set.notable, context.set.notable);
+ }
+
+ fl_print_format("%r%r", output.stream, f_string_eol_s, f_string_eol_s);
return F_none;
}
* @param name
* The name of the program.
* @param parameters
- * The non-option parameters to be displayed inside the brackets.
+ * (optional) The non-option parameters to be displayed inside the brackets.
* Set the first array value to EOS to disable printing of parameters.
+ * Set parameters.used to 0 to disable.
*
* @return
* F_none on success.