http://docs.factorcode.org/content/article-command-line.html
says that arguments after a script file are stored in command-line. Arguments after a -run switch are not mentioned. Testing with factor-linux-x86-64-2014-09-10-15-17.tar.gz I see arguments after the -run switch disappearing if they start with a dash and come before the first argument not starting with a dash. Is this behavior intended? ---------------------------------------------------- $ cat test-voc/test-voc.factor USING: command-line namespaces prettyprint ; IN: test-voc : main ( -- ) command-line get . ; MAIN: main $ factor-lang -run="test-voc" a b c { "a" "b" "c" } $ factor-lang -run="test-voc" -a b c { "b" "c" } $ factor-lang -run="test-voc" a -b c { "a" "-b" "c" } $ factor-lang -run="test-voc" -a -b c { "c" } ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk