Minor changes to `nedasm`. Updated usage and wrapped long line.
authorAaron Taylor <ataylor@subgeniuskitty.com>
Tue, 10 Sep 2019 06:52:27 +0000 (23:52 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Tue, 10 Sep 2019 06:52:27 +0000 (23:52 -0700)
nedasm/nedasm.c
nedasm/nedasm_parser.h

index 1b64a4d..19da917 100644 (file)
@@ -20,7 +20,7 @@ void
 print_usage(char ** argv)
 {
     printf( "NED Assembler v%d (www.subgeniuskitty.com)\n"
 print_usage(char ** argv)
 {
     printf( "NED Assembler v%d (www.subgeniuskitty.com)\n"
-            "Usage: %s [option] ...\n"
+            "Usage: %s -i <file> -o <file>\n"
             "  -h         Help (prints this message)\n"
             "  -i <file>  Specify file name of assembly code input.\n"
             "  -o <file>  Specify file name for assembled output.\n"
             "  -h         Help (prints this message)\n"
             "  -i <file>  Specify file name of assembly code input.\n"
             "  -o <file>  Specify file name for assembled output.\n"
index 62c247f..d6e104d 100644 (file)
@@ -8,7 +8,9 @@
 
 #include "nedasm_structures.h"
 
 
 #include "nedasm_structures.h"
 
-// TODO: Note that this does not hand back an IR that would be executable. No word alignment or other functions have been performed. It's more like a literal translation of the assembly file with addresses in place of labels.
+// TODO: Note that this does not hand back an IR that would be executable. No
+// word alignment or other functions have been performed. It's more like a
+// literal translation of the assembly file with addresses in place of labels.
 
 void parse_assembly(struct instruction ** instructions, FILE * input);
 
 
 void parse_assembly(struct instruction ** instructions, FILE * input);