summaryrefslogtreecommitdiff
diff options
authorZygmunt Krynicki <zygmunt.krynicki@canonical.com>2015-05-21 00:04:10 +0200
committerZygmunt Krynicki <zygmunt.krynicki@canonical.com>2015-05-21 00:04:10 +0200
commitbf14ec0951850558722dbda6c79f3d4c4112f901 (patch)
tree5cb4b71d0b2d336bb6174661d841ec0d7d3a7a45
parent7b15bf9ddd8a043e51ea1d725b97de38672d46fa (diff)
providers:checkbox: fix recovery_command docstrings and interactive help
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
-rwxr-xr-xbin/recovery_info12
1 files changed, 7 insertions, 5 deletions
diff --git a/bin/recovery_info b/bin/recovery_info
index 9ce924e4..69bc64bd 100755
--- a/bin/recovery_info
+++ b/bin/recovery_info
@@ -105,9 +105,11 @@ class MountedPartitionTests(unittest.TestCase):
class RecoveryVersion(Command):
"""
- subcommand of RecoveryInfo.
+ print the version of recovery image.
+
+ @EPILOG@
- print out the version information.
+ This commands prints information such as:
image_version: xxx
bto_version: REV_xxx.iso (dell only)
@@ -145,9 +147,9 @@ class RecoveryVersion(Command):
class RecoveryFile(Command):
"""
- subcommand of RecoveryInfo.
+ display a single file from the recovery partition
- print out the file in recovery partition.
+ This command can be used to ``cat`` any file from the recovery partition
"""
def register_arguments(self, parser):
@@ -157,7 +159,7 @@ class RecoveryFile(Command):
:param parser:
Argument parser (from :mod:`argparse`) specific to this command.
"""
- parser.add_argument('file', help='File name of print out the content')
+ parser.add_argument('file', help='name of the file to display')
def invoked(self, ctx):
"""