Skip to content
Snippets Groups Projects
Commit 79b6a78b authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix typo and identation with tabs

parent bc75a486
No related branches found
No related tags found
No related merge requests found
......@@ -16,20 +16,20 @@ tdf.opt = {
// Function declarations (Synchronet JS style)
function usage() {
writeln("usage: [options] input");
writeln("");
writeln(" -f [font] Specify font file used.");
writeln(" -j l|r|c Justify left, right, or center. Default is left.");
writeln(" -w n Set screen width. Default is auto-detect or 80.");
wrintln(" -m n Set margin/offset (for left or right justification).");
writeln(" -a Color sequences: ANSI. Default is Synchronet Ctrl-A.");
writeln(" -u Encode charaters as UTF-8. Default is CP437.");
writeln(" -x n Index to font within file. Default is 0.");
writeln(" -i Print font details.");
writeln(" -r Use random font.");
writeln(" -h Print usage.");
writeln("");
exit(1); // Use Synchronet's exit
writeln("usage: [options] input");
writeln("");
writeln(" -f [font] Specify font file used.");
writeln(" -j l|r|c Justify left, right, or center. Default is left.");
writeln(" -w n Set screen width. Default is auto-detect or 80.");
writeln(" -m n Set margin/offset (for left or right justification).");
writeln(" -a Color sequences: ANSI. Default is Synchronet Ctrl-A.");
writeln(" -u Encode charaters as UTF-8. Default is CP437.");
writeln(" -x n Index to font within file. Default is 0.");
writeln(" -i Print font details.");
writeln(" -r Use random font.");
writeln(" -h Print usage.");
writeln("");
exit(1); // Use Synchronet's exit
}
// Main execution block (equivalent to C main function)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment