diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-04-11 20:20:19 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-04-11 20:20:19 +0100 |
commit | b4601ba1ddf6d3442555b719478e1d60f1a36dd1 (patch) | |
tree | abe348c00d4982a746da830b89a6168264ff2ebc /desktop-cronish | |
parent | aa2aeb3254a890c74d3d684356ca6c1a0afebb87 (diff) | |
download | desktop-cronish-b4601ba1ddf6d3442555b719478e1d60f1a36dd1.tar.gz |
Remove most tests
No need to have more than one, right now. Too many tests make it harder
to do TDD.
Diffstat (limited to 'desktop-cronish')
-rwxr-xr-x | desktop-cronish | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/desktop-cronish b/desktop-cronish index c9550ee..a67af1e 100755 --- a/desktop-cronish +++ b/desktop-cronish @@ -23,7 +23,15 @@ __version__ = '0.0' class DesktopCronish(cliapp.Application): - pass + def add_settings(self): + self.settings.integer( + ['max-jobs'], + 'run at least N jobs, then quit (use 0 for infinite)', + metavar='N', + default=0) + + def process_args(self, args): + pass DesktopCronish(version=__version__).run() |