summaryrefslogtreecommitdiff
path: root/rawdisk.write
diff options
context:
space:
mode:
authorPete Fotheringham <pete.fotheringham@codethink.co.uk>2014-12-05 15:34:07 +0000
committerPete Fotheringham <pete.fotheringham@codethink.co.uk>2014-12-08 08:40:02 +0000
commitbfc74c3a2a1c5058e18653f4fb28e0390b66d520 (patch)
tree574fa50bfdbd2cb9c830b761892589bfb919a3cf /rawdisk.write
parenta4534ef98b71b6d7bc57ae863fcdce353e174afb (diff)
downloaddefinitions-bfc74c3a2a1c5058e18653f4fb28e0390b66d520.tar.gz
Add a reference to write.help file
Diffstat (limited to 'rawdisk.write')
-rwxr-xr-xrawdisk.write12
1 files changed, 2 insertions, 10 deletions
diff --git a/rawdisk.write b/rawdisk.write
index b17f8aa7..d91a4d5f 100755
--- a/rawdisk.write
+++ b/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()
-