diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-05-29 17:17:31 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-05-29 17:17:31 +0100 |
commit | 907f207d3b4535f98fd115439fd36c43b64f311f (patch) | |
tree | fd47174cf2a92e119cd979bf4f01395c4bac0464 /mksparse | |
parent | fdaec97979044db0d9cf36d5ed5344ca1745fa00 (diff) | |
download | extrautils-907f207d3b4535f98fd115439fd36c43b64f311f.tar.gz |
Use newer cliapp API for adding new settings.
Diffstat (limited to 'mksparse')
-rwxr-xr-x | mksparse | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -6,8 +6,7 @@ import cliapp class MakeSparseFile(cliapp.Application): def add_settings(self): - self.settings.add_bytesize_setting(['size'], - 'size of whole to append to file') + self.settings.bytesize(['size'], 'size of whole to append to file') def process_args(self, filenames): if self.settings['size'] > 0: |