Skip to content

Commit

Permalink
Fix slightly erroneous error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengtmartensson committed Dec 17, 2023
1 parent e5adece commit f4b1449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/harctoolbox/cmdline/CommandRender.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ private void render(NamedProtocol protocol) throws OddSequenceLengthException, D
if (printParameters)
out.println(nameEngine.toString());

if (!pronto && !raw && !rawWithoutSigns && !modulate && !printParameters)
logger.warning("No output requested. Use either --raw, --raw-without-signs, --pronto, --modulate, or --printparameters to get output.");
if (!pronto && !raw && !rawWithoutSigns && !printParameters)
logger.warning("No output requested. Use either --raw, --raw-without-signs, --pronto or --printparameters to get output.");
NameEngine newNameEngine = new NameEngine(nameEngine);
IrSignal irSignal = protocol.render(newNameEngine); // modifies its argument

Expand Down

0 comments on commit f4b1449

Please sign in to comment.