[Bf-committers] Blender command line args

Stephen Swaney sswaney at centurytel.net
Tue Mar 21 04:27:39 CET 2006


On Wed, Mar 22, 2006 at 02:21:16AM +1100, Campbell Barton wrote:

> issues with command line args.
> like-
> *order of args is very important- since some are executed in the order 
> they are given.
> *You need a space after the arg -x 1 works while -x1 dosent :/
> *for spaces in the name you need to use ""

Except for the ordering business, this is pretty standard command
line arg processing.  Flags and params are whitespace delimited,
hence the quotes needed for filenames with spaces and the difference
between  -x1 and -x 1 .

<rant>
Spaces in filenames used to be unthinkable before those *bleeps*
in Redmond started doing it.  After that, scripting became a new
sort of hell.
</rant>

The importance of arg order could use mention in the help text.
Better help & doc is always good. 

-- 
Stephen Swaney			
sswaney at centurytel.net



More information about the Bf-committers mailing list