Fix syntax errors
authorNikos Skalkotos <skalkoto@grnet.gr>
Wed, 20 Mar 2013 15:59:47 +0000 (17:59 +0200)
committerNikos Skalkotos <skalkoto@grnet.gr>
Wed, 20 Mar 2013 16:11:57 +0000 (18:11 +0200)
docs/man/snf-image-creator.rst
docs/usage.rst
image_creator/dialog_menu.py
image_creator/main.py

index 751d42a..f55652d 100644 (file)
@@ -42,7 +42,7 @@ Options
        dump image to FILE
 
 --public
        dump image to FILE
 
 --public
-       register image to cyclades as public
+       register image with cyclades as public
 
 --print-sysprep
        print the enabled and disabled system preparation operations for this
 
 --print-sysprep
        print the enabled and disabled system preparation operations for this
index a1c8da6..c43fb29 100644 (file)
@@ -45,7 +45,7 @@ snf-image-creator receives the following options:
                          media
    --no-sysprep          don't perform any system preparation operation
    --no-shrink           don't shrink the image
                          media
    --no-sysprep          don't perform any system preparation operation
    --no-shrink           don't shrink the image
-   --public              register image to cyclades as public
+   --public              register image with cyclades as public
    --tmpdir=DIR          create large temporary image files under DIR
 
 Most input options are self-describing. If you want to save a local copy of
    --tmpdir=DIR          create large temporary image files under DIR
 
 Most input options are self-describing. If you want to save a local copy of
@@ -202,10 +202,11 @@ In the *Customize* sub-menu the user can control:
 
 In the *Register* sub-menu the user can provide:
 
 
 In the *Register* sub-menu the user can provide:
 
- * The credentials (authentication token) to authenticate on *~okeanos*
+ * The credentials (authentication token) to use when authenticating
+   to *~okeanos*
  * A *pithos+* filename for the uploaded *diskdump* image
  * A *pithos+* filename for the uploaded *diskdump* image
- * A name for the image to be registered to *~okeanos* with, as well as the
-   registration type (*private* or *public*)
+ * A name for the image to use when registering it with *~okeanos*, as well as
+   the registration type (*private* or *public*)
 
 By choosing the *Extract* menu entry, the user can dump the image to the local
 file system. Finally, if the user selects *Reset*, the system will ignore
 
 By choosing the *Extract* menu entry, the user can dump the image to the local
 file system. Finally, if the user selects *Reset*, the system will ignore
index 47e07e2..55bcd4e 100644 (file)
@@ -195,13 +195,13 @@ def register_image(session):
 
     if "account" not in session:
         d.msgbox("You need to provide your ~okeanos credentians before you "
 
     if "account" not in session:
         d.msgbox("You need to provide your ~okeanos credentians before you "
-                 "can register an images to cyclades",
+                 "can register an images with cyclades",
                  width=SMALL_WIDTH)
         return False
 
     if "pithos_uri" not in session:
         d.msgbox("You need to upload the image to pithos+ before you can "
                  width=SMALL_WIDTH)
         return False
 
     if "pithos_uri" not in session:
         d.msgbox("You need to upload the image to pithos+ before you can "
-                 "register it to cyclades", width=SMALL_WIDTH)
+                 "register it with cyclades", width=SMALL_WIDTH)
         return False
 
     while 1:
         return False
 
     while 1:
index 6d46ae3..567e4c3 100644 (file)
@@ -119,7 +119,7 @@ def parse_options(input_args):
                       help="don't shrink any partition", action="store_false")
 
     parser.add_option("--public", dest="public", default=False,
                       help="don't shrink any partition", action="store_false")
 
     parser.add_option("--public", dest="public", default=False,
-                      help="register image to cyclades as public",
+                      help="register image with cyclades as public",
                       action="store_true")
 
     parser.add_option("--tmpdir", dest="tmp", type="string", default=None,
                       action="store_true")
 
     parser.add_option("--tmpdir", dest="tmp", type="string", default=None,