diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-12-09 17:37:45 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-12-09 17:37:45 +0000 |
commit | d6a8067d6bfd929fa7505e019a4e6ea63e1210ea (patch) | |
tree | fd8c8ae8601050f2538c14769a20c0559e10f604 /morphlib/exts/rawdisk.write | |
parent | cb880f3554d9cf8daa3839dcd7a7ed2c336df85b (diff) | |
parent | f7ca518de2f6761059d107e0e59ab470dd625192 (diff) | |
download | morph-d6a8067d6bfd929fa7505e019a4e6ea63e1210ea.tar.gz |
Merge remote-tracking branch 'petefoth/pf-document-extensions'
Reviewed-By: Adam Coldrick <adam.coldrick@codethink.co.uk>
Reviewed-By: Sam Thursfield <sam.thursfield@codethink.co.uk>
Diffstat (limited to 'morphlib/exts/rawdisk.write')
-rwxr-xr-x | morphlib/exts/rawdisk.write | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/morphlib/exts/rawdisk.write b/morphlib/exts/rawdisk.write index b17f8aa7..d91a4d5f 100755 --- a/morphlib/exts/rawdisk.write +++ b/morphlib/exts/rawdisk.write @@ -29,19 +29,12 @@ import morphlib.writeexts class RawDiskWriteExtension(morphlib.writeexts.WriteExtension): - '''Create a raw disk image during Morph's deployment. - - If the image already exists, it is upgraded. - - The location command line argument is the pathname of the disk image - to be created/upgraded. - - ''' + '''See rawdisk.write.help for documentation''' def process_args(self, args): if len(args) != 2: raise cliapp.AppException('Wrong number of command line args') - + temp_root, location = args upgrade = self.get_environment_boolean('UPGRADE') @@ -114,4 +107,3 @@ class RawDiskWriteExtension(morphlib.writeexts.WriteExtension): RawDiskWriteExtension().run() - |