Module Name:    src
Committed By:   wiz
Date:           Fri Dec 25 12:16:03 UTC 2015

Modified Files:
        src/sbin/gpt: gpt.8 show.c

Log Message:
Simplify usage for gpt show.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sbin/gpt/gpt.8
cvs rdiff -u -r1.32 -r1.33 src/sbin/gpt/show.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/gpt/gpt.8
diff -u src/sbin/gpt/gpt.8:1.44 src/sbin/gpt/gpt.8:1.45
--- src/sbin/gpt/gpt.8:1.44	Fri Dec 25 10:59:56 2015
+++ src/sbin/gpt/gpt.8	Fri Dec 25 12:16:03 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: gpt.8,v 1.44 2015/12/25 10:59:56 martin Exp $
+.\" $NetBSD: gpt.8,v 1.45 2015/12/25 12:16:03 wiz Exp $
 .\"
 .\" Copyright (c) 2002 Marcel Moolenaar
 .\" All rights reserved.
@@ -523,7 +523,7 @@ They may be used by
 .Nx
 code in the future.
 .\" ==== show ====
-.It Nm Ic show Oo Fl glu Oc Oo Fl i Ar index Oc Oo Fl a Oc
+.It Nm Ic show Oo Fl aglu Oc Oo Fl i Ar index Oc
 The
 .Ic show
 command displays the current partitioning on the listed devices and gives

Index: src/sbin/gpt/show.c
diff -u src/sbin/gpt/show.c:1.32 src/sbin/gpt/show.c:1.33
--- src/sbin/gpt/show.c:1.32	Fri Dec 25 10:59:56 2015
+++ src/sbin/gpt/show.c	Fri Dec 25 12:16:03 2015
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/show.c,v 1.14 2006/06/22 22:22:32 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: show.c,v 1.32 2015/12/25 10:59:56 martin Exp $");
+__RCSID("$NetBSD: show.c,v 1.33 2015/12/25 12:16:03 wiz Exp $");
 #endif
 
 #include <sys/types.h>
@@ -52,7 +52,7 @@ __RCSID("$NetBSD: show.c,v 1.32 2015/12/
 static int cmd_show(gpt_t, int, char *[]);
 
 static const char *showhelp[] = {
-	"[-glu] [-i index] [-a]",
+	"[-aglu] [-i index]",
 };
 
 #define SHOW_UUID  1

Reply via email to