All of lore.kernel.org
 help / color / mirror / Atom feed
* master - man lvcreate: remove the extents prefix
@ 2017-03-02 22:58 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2017-03-02 22:58 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=9a62767f2d44c9d9a9004ffe08a6f21a153c2a8f
Commit:        9a62767f2d44c9d9a9004ffe08a6f21a153c2a8f
Parent:        5d39927f2251edbb60db5af55ddf06ef50331e49
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Thu Mar 2 16:42:46 2017 -0600
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Thu Mar 2 16:58:19 2017 -0600

man lvcreate: remove the extents prefix

This applies the same hack to --extents (dropping
the [+|-] prefix), as commit b7831fc14a did for --size.
---
 tools/command.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tools/command.c b/tools/command.c
index 2e8299b..d2d7a26 100644
--- a/tools/command.c
+++ b/tools/command.c
@@ -1908,6 +1908,10 @@ static void print_val_man(struct command_name *cname, const char *str)
 		printf("\\fISize\\fP[m|UNIT]");
 		return;
 	}
+	if (!strcmp(cname->name, "lvcreate") && !strcmp(str, "[+|-]Number[%VG|%PVS|%FREE]")) {
+		printf("\\fINumber\\fP[\\fB%%VG\\fP|\\fB%%PVS\\fP|\\fB%%FREE\\fP]");
+		return;
+	}
 
 	/*
 	 * Doing bold k before UNIT creates a lot of



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-02 22:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-02 22:58 master - man lvcreate: remove the extents prefix David Teigland

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.