Make force on the default. Option is now --no-force.

This commit is contained in:
Chris Johns
2013-02-19 19:02:51 +11:00
parent fba1136108
commit 972ad8cdee

View File

@@ -216,7 +216,7 @@ class command_line:
_defaults = { 'params' : [], _defaults = { 'params' : [],
'warn-all' : '0', 'warn-all' : '0',
'quiet' : '0', 'quiet' : '0',
'force' : '0', 'no-force' : '1',
'trace' : '0', 'trace' : '0',
'dry-run' : '0', 'dry-run' : '0',
'no-clean' : '0', 'no-clean' : '0',
@@ -239,7 +239,7 @@ class command_line:
'--targetcxxflags' : ('_targetcxxflags', False), '--targetcxxflags' : ('_targetcxxflags', False),
'--libstdcxxflags' : ('_libstdcxxflags', False) } '--libstdcxxflags' : ('_libstdcxxflags', False) }
_long_true_opts = { '--force' : '_force', _long_true_opts = { '--no-force' : '_force',
'--trace' : '_trace', '--trace' : '_trace',
'--dry-run' : '_dry_run', '--dry-run' : '_dry_run',
'--warn-all' : '_warn_all', '--warn-all' : '_warn_all',
@@ -255,7 +255,7 @@ class command_line:
print '%s: [options] [args]' % (self.command_name) print '%s: [options] [args]' % (self.command_name)
print 'Source Builder, an RTEMS Tools Project (c) 2012-2013 Chris Johns' print 'Source Builder, an RTEMS Tools Project (c) 2012-2013 Chris Johns'
print 'Options and arguments:' print 'Options and arguments:'
print '--force : Create directories that are not present' print '--no-force : Do not create directories that are missing'
print '--trace : Trace the execution (not current used)' print '--trace : Trace the execution (not current used)'
print '--dry-run : Do everything but actually run the build' print '--dry-run : Do everything but actually run the build'
print '--warn-all : Generate warnings' print '--warn-all : Generate warnings'