All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] patch for separator option
@ 2004-12-14  9:38 Arvin Schnell
  2004-12-16 11:00 ` Arvin Schnell
  0 siblings, 1 reply; 5+ messages in thread
From: Arvin Schnell @ 2004-12-14  9:38 UTC (permalink / raw)
  To: Linux LVM

[-- Attachment #1: Type: text/plain, Size: 330 bytes --]


Hi,

I realized that the -s/--short option for vgdisplay doesn't work
in lvm 2.2.00.31 (but also older versions).  That's because the
option --separator also gets the short option 's' in args.h.

Attached is a patch.

ciao Arvin

-- 
Dipl.-Phys. Arvin Schnell
SUSE LINUX Products GmbH
Research & Development
email: arvin@suse.de

[-- Attachment #2: lvm2-args.diff --]
[-- Type: text/plain, Size: 866 bytes --]

? lvm
Index: args.h
===================================================================
RCS file: /cvs/lvm2/LVM2/tools/args.h,v
retrieving revision 1.36
diff -u -w -r1.36 args.h
--- args.h	15 Jun 2004 17:23:49 -0000	1.36
+++ args.h	14 Dec 2004 09:28:52 -0000
@@ -43,6 +43,7 @@
 arg(minor_ARG, '\0', "minor", minor_arg)
 arg(type_ARG, '\0', "type", segtype_arg)
 arg(alloc_ARG, '\0', "alloc", alloc_arg)
+arg(separator_ARG, '\0', "separator", string_arg)
 
 /* Allow some variations */
 arg(resizable_ARG, '\0', "resizable", yes_no_arg)
@@ -99,7 +100,6 @@
 arg(resizefs_ARG, 'r', "resizefs", NULL)
 arg(reset_ARG, 'R', "reset", NULL)
 arg(physicalextentsize_ARG, 's', "physicalextentsize", size_mb_arg)
-arg(separator_ARG, 's', "separator", string_arg)
 arg(stdin_ARG, 's', "stdin", NULL)
 arg(snapshot_ARG, 's', "snapshot", NULL)
 arg(short_ARG, 's', "short", NULL)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-12-20 11:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-14  9:38 [linux-lvm] patch for separator option Arvin Schnell
2004-12-16 11:00 ` Arvin Schnell
2004-12-18 20:32   ` Alasdair G Kergon
2004-12-20 11:41     ` Arvin Schnell
2004-12-20 11:46       ` Alasdair G Kergon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.