[M3commit] CVS Update: cm3
Jay Krell
jkrell at elego.de
Sat Jun 23 10:52:03 CEST 2012
CVSROOT: /usr/cvs
Changes by: jkrell at birch. 12/06/23 10:52:03
Modified files:
cm3/m3-sys/cm3/src/: Main.m3 Makefile.i3 Makefile.m3
Log message:
split ScanCommandLine into ScanCommandLine1 and ScanCommandLine2
ScanCommandLine2 is most of the previous ScanCommandLine
ScanCommandLine1 handles just -version and -help
Maybe call them ScanCommandLineForHelpAndUsage
and ScanCommadLine? or add a boolean parameter?
Or just call it earlier? This is a smaller/safer change.
The point is so that cm3 -version can be used to sniff
for -host, even when there is no (not yet) a cm3.cfg file.
This is useful e.g. in scripts/python/{pylib.py,boot2.sh}
More information about the M3commit
mailing list