]> ocean-lang.org Git - ocean/commitdiff
oceani: add missing space in usage message.
authorNeilBrown <neil@brown.name>
Fri, 5 Mar 2021 22:15:06 +0000 (09:15 +1100)
committerNeilBrown <neil@brown.name>
Wed, 10 Mar 2021 01:00:31 +0000 (12:00 +1100)
Wrapping long strings is a bad idea anyway.

Signed-off-by: NeilBrown <neil@brown.name>
csrc/oceani-tests.mdc
csrc/oceani.mdc

index 87a7aa99a548b876a4ef5962b446d03f0ec74800..54b08d02fd14fc6226164410754ccb99b30bf3c6 100644 (file)
@@ -850,7 +850,7 @@ command list possible.
 
 ###### output: cmd,-zyx
        ./oceani: invalid option -- 'z'
-       Usage: oceani --trace --print --noexec --brackets--section=SectionName prog.ocn
+       Usage: oceani --trace --print --noexec --brackets --section=SectionName prog.ocn
 
 ###### output: cmd,nofile
        oceani: cannot open nofile
index ab6abe91f67156e03a0e81926897d320e652b04a..fc2aaef16d0cf6da3e2661da17db599a838c8ce8 100644 (file)
@@ -151,8 +151,8 @@ structures can be used.
        ## core functions
 
        #include <getopt.h>
-       static char Usage[] = "Usage: oceani --trace --print --noexec --brackets"
-                             "--section=SectionName prog.ocn\n";
+       static char Usage[] =
+               "Usage: oceani --trace --print --noexec --brackets --section=SectionName prog.ocn\n";
        static const struct option long_options[] = {
                {"trace",     0, NULL, 't'},
                {"print",     0, NULL, 'p'},