summaryrefslogtreecommitdiff
path: root/ubi-utils/src/ubinfo.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-26 15:12:26 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-26 16:23:04 +0200
commit9ba41c4dc891e38c92126bfcc4c366d765841da0 (patch)
tree5d095e949421d86dc2e2df83245405bbf7c84945 /ubi-utils/src/ubinfo.c
parent126341588c5e9d9077e31c4a5f550c83b2e3e93d (diff)
ubi-utils: add ubiattach and ubidetach
Add 2 new utilities to attach and detach UBI devices. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/ubinfo.c')
-rw-r--r--ubi-utils/src/ubinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ubi-utils/src/ubinfo.c b/ubi-utils/src/ubinfo.c
index c907335..35c70a1 100644
--- a/ubi-utils/src/ubinfo.c
+++ b/ubi-utils/src/ubinfo.c
@@ -34,7 +34,7 @@
#define PROGRAM_VERSION "1.0"
#define PROGRAM_NAME "ubinfo"
-/* The variables below is set by command line arguments */
+/* The variables below are set by command line arguments */
struct args {
int devn;
int vol_id;
@@ -49,8 +49,8 @@ static struct args myargs = {
.node = NULL,
};
-static const char *doc = "Version " PROGRAM_VERSION "\n"
- PROGRAM_NAME " - a tool to print UBI information.";
+static const char *doc = PROGRAM_NAME " version " PROGRAM_VERSION
+ " - a tool to print UBI information.";
static const char *optionsstr =
"-d, --devn=<UBI device number> UBI device number to get information about\n"