]> kaliko git repositories - mpd-goodies.git/blobdiff - mfade
* rewrote mtopls
[mpd-goodies.git] / mfade
diff --git a/mfade b/mfade
index 6666c8d4ca03c9f37697d49ee4295b744f9303eb..de84f141dfc21be9cfc252af9bd885b179a2a0e8 100755 (executable)
--- a/mfade
+++ b/mfade
@@ -34,10 +34,10 @@ from lib.startop import StartOpt
 
 NAME = 'mfade'
 VERSION = '0.1'
-USAGE = 'USAGE:  %prog [--help] [options] [<time> [<final volume level>]'
-DESC = """Fade in/out to <final volume level> over <time>. From 0% to 50% when
-paused or stopped and from current volume to 10th of it if playing, both over 10
-minutes."""
+USAGE = 'USAGE:  %prog [--help] | [ <time> [<final volume level>] ]'
+DESC = """Fade in/out to <final volume level> over <time>. Defaults are from 0%
+to 50% when paused or stopped and from current volume to 10th of it if playing,
+both over 10 minutes."""
 
 
 class Sleep(StartOpt, MPDClass):
@@ -62,7 +62,7 @@ class Sleep(StartOpt, MPDClass):
         """"""
         if (len(self.cli_args) < 1 or
                 len(self.cli_args) > 2):
-            self.parser.error('%s requires at least an argument and no more than two!')
+            self.parser.error('need at least an argument and no more than two!')
         try:
             self.tempo = int(self.cli_args[0])
             self.volum = int(self.cli_args[1])