]> kaliko git repositories - mpd-sima.git/blobdiff - sima/utils/startopt.py
Some cleanup, CLI/bash completion/Doc improvements
[mpd-sima.git] / sima / utils / startopt.py
index 2081c19266951f3b215d6353cd0229467c75c47a..e39330431711290d09e4e0095a85146aca8d53b8 100644 (file)
@@ -89,7 +89,7 @@ OPTS = [
          configuration. You can put other options with this one to get them in\
          the generated configuration.'},
     {
-        'sw':['--var_dir'],
+        'sw':['--var-dir', '--var_dir'],
         'dest': 'var_dir',
         'action': Wdir,
         'help': 'Directory to store var content (ie. database, cache)'},
@@ -106,14 +106,14 @@ OPTS = [
         #'help': 'Queue mode in [track, top, album]',
         'help': SUPPRESS, },
     {
-        'sw':['--purge_history'],
+        'sw':['--purge-history'],
         'action': 'store_true',
         'dest': 'do_purge_history',
         'help': SUPPRESS},
 ]
 
 
-class StartOpt(object):
+class StartOpt:
     """Command line management.
     """