[parted-devel] mktable alias

Debarshi 'Rishi' Ray debarshi.ray at gmail.com
Tue Nov 28 14:07:35 CET 2006


> > +"information for all devices will be displayed."),
> ^^^^^^^ this breaks our help.

Oops! Sorry for that, was working with an older version of parted.c.

This one should be fine.

Happy hacking,
Debarshi
-- 
I only work when I am not doing any assignments.
-------------- next part --------------
From 16f89bb9396c313826d98ecdbd9e62712e4306b7 Mon Sep 17 00:00:00 2001
From: Debarshi Ray <rishi at gnu.org>
Date: Wed, 29 Nov 2006 00:10:04 +0530
Subject: Make mktable aliased to mklabel.

---
 parted/parted.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/parted/parted.c b/parted/parted.c
index 2c8bdd3..e6bfe8b 100644
--- a/parted/parted.c
+++ b/parted/parted.c
@@ -1931,10 +1931,10 @@ NULL),
                 NULL, 1));
 
         command_register (commands, command_create (
-                str_list_create_unique ("mklabel", _("mklabel"), NULL),
+                str_list_create_unique ("mklabel", _("mklabel"), "mktable", _("mktable"), NULL),
                 do_mklabel,
                 str_list_create (
-_("mklabel LABEL-TYPE                       create a new disklabel "
+_("mklabel,mktable LABEL-TYPE               create a new disklabel "
   "(partition table)"),
 NULL),
                 str_list_create (label_type_msg, NULL), 1));
-- 
1.4.2.4


More information about the parted-devel mailing list