Merge pull request #188 from ubitux/misc-fixes

Misc fixes
This commit is contained in:
JoeLametta
2017-09-09 20:20:58 +02:00
committed by GitHub
3 changed files with 5 additions and 7 deletions

View File

@@ -228,7 +228,7 @@ To make it easier for developers, you can run whipper straight from the
source checkout:
```bash
python2 setup.py develop
python2 setup.py develop --user
whipper -h
```

View File

@@ -93,8 +93,8 @@ class BaseCommand():
self.parser.print_help()
sys.exit(0)
if not self.options.remainder[0] in self.subcommands:
sys.stderr.write("incorrect subcommand: %s" %
self.options.remainder[0])
logger.critical("incorrect subcommand: %s",
self.options.remainder[0])
sys.exit(1)
self.cmd = self.subcommands[self.options.remainder[0]](
self.options.remainder[1:],

View File

@@ -296,13 +296,11 @@ Log files will log the path to tracks relative to this directory.
self.parser.add_argument('--track-template',
action="store", dest="track_template",
default=DEFAULT_TRACK_TEMPLATE,
help="template for track file naming "
"(default default)")
help="template for track file naming")
self.parser.add_argument('--disc-template',
action="store", dest="disc_template",
default=DEFAULT_DISC_TEMPLATE,
help="template for disc file naming "
"(default default)")
help="template for disc file naming")
self.parser.add_argument('-U', '--unknown',
action="store_true", dest="unknown",
help="whether to continue ripping if "