X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Futils%2Fstartopt.py;h=2081c19266951f3b215d6353cd0229467c75c47a;hb=fe1ed51724531b8c1e78e7d7eb590c9be20e275c;hp=51319f60afc7360b3a5d64d8993ec6e29c1cdeee;hpb=1481a05d7060c8cfd615850b3df9d66a52fb0ff4;p=mpd-sima.git diff --git a/sima/utils/startopt.py b/sima/utils/startopt.py index 51319f6..2081c19 100644 --- a/sima/utils/startopt.py +++ b/sima/utils/startopt.py @@ -81,6 +81,13 @@ OPTS = [ 'dest': 'conf_file', 'action': Rfile, 'help': 'Configuration file to load'}, + { + 'sw':['--generate-config'], + 'dest': 'generate_config', + 'action': 'store_true', + 'help': 'Generate a sample configuration file to stdout according to the current\ + configuration. You can put other options with this one to get them in\ + the generated configuration.'}, { 'sw':['--var_dir'], 'dest': 'var_dir',