]> kaliko git repositories - mpd-sima.git/blobdiff - sima/utils/startopt.py
Fixed crash when setting XDG_CONFIG_HOME (closes #50)
[mpd-sima.git] / sima / utils / startopt.py
index cdcfcecc3cdce09314b2a7adcfc98e31a45cbf5c..80ccb9742e737a9e9a12bcab167b03e71e4a28ca 100644 (file)
@@ -44,6 +44,7 @@ def clean_dict(to_clean):
 CMDS = {'config-test': 'Test configuration (MPD connection and Tags plugin only)',
         'create-db': 'Create the database',
         'generate-config': 'Generate a configuration file to stdout',
+        'purge-history': 'Remove play history'
         }
 # OPTIONS LIST
 # pop out 'sw' value before creating Parser object.
@@ -93,21 +94,11 @@ OPTS = [
         'action': Rfile,
         'metavar': 'CONFIG',
         'help': 'configuration file to load'},
-    {  # TODO: To remove eventually in next major realese v0.18
-        'sw': ['--generate-config'],
-        'dest': 'generate_config',
-        'action': 'store_true',
-        'help': SUPPRESS},
     {
         'sw': ['--var-dir', '--var_dir'],
         'dest': 'var_dir',
         'action': Wdir,
         'help': 'directory to store var content (ie. database, cache)'},
-    {  # TODO: To remove eventually in next major realese v0.18
-        'sw': ['--create-db'],
-        'action': 'store_true',
-        'dest': 'create_db',
-        'help': SUPPRESS},
     {
         'sw': ['command'],
         'nargs': '?',