From: Arvin Schnell <arvin@suse.de>
To: Linux LVM <linux-lvm@redhat.com>
Subject: [linux-lvm] patch for separator option
Date: Tue, 14 Dec 2004 10:38:50 +0100 [thread overview]
Message-ID: <20041214093850.GA16922@suse.de> (raw)
[-- 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)
next reply other threads:[~2004-12-14 9:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-14 9:38 Arvin Schnell [this message]
2004-12-16 11:00 ` [linux-lvm] patch for separator option 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041214093850.GA16922@suse.de \
--to=arvin@suse.de \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox