changeset 93:d5da38fabdf7

note command line options needed for variable handling
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 11 Jan 2011 07:30:31 -0800
parents bfab7367eb56
children b6a46332cced
files makeitso/makeitso.py
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/makeitso/makeitso.py	Mon Jan 10 21:49:43 2011 -0800
+++ b/makeitso/makeitso.py	Tue Jan 11 07:30:31 2011 -0800
@@ -391,6 +391,22 @@
     parser.add_option('-o', '--output', dest='output',
                       help='where to put the output (filename or directory)')
 
+    # TODO
+    # options for (.ini) variables
+#     parser.add_option('-c', '--config', dest='config'
+#                       default=[], action='append',
+#                       help='.ini config files to read variables from')
+#     parser.add_option('--no-defaults', dest='use_defaults',
+#                       default=True, action='store_false',
+#                       help="don't read ~/.makeitso") # XXX should only be displayed if ~/.makeitso exists
+#     parser.add_option('-u', '--update', dest='update',
+#                       help="update the specified .ini file for variables read from this run")
+#     parser.add_option('-U', '--Update', dest='Update',
+#                       help="same as -u, but update the global [DEFAULTS] section")
+#     parser.add_option('--dry-run', dest='dry_run',
+#                       default=False, action='store_true',
+#                       help="don't actually do the substitution but do everything else")
+
     # options for getting information
     parser.add_option('--commandline', dest='commandline',
                       action='store_true', default=False,