Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/gpt Simplify usage for gpt show.



details:   https://anonhg.NetBSD.org/src/rev/c3d8310a8694
branches:  trunk
changeset: 342505:c3d8310a8694
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri Dec 25 12:16:03 2015 +0000

description:
Simplify usage for gpt show.

diffstat:

 sbin/gpt/gpt.8  |  4 ++--
 sbin/gpt/show.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r e75ba1120df4 -r c3d8310a8694 sbin/gpt/gpt.8
--- a/sbin/gpt/gpt.8    Fri Dec 25 10:59:56 2015 +0000
+++ b/sbin/gpt/gpt.8    Fri Dec 25 12:16:03 2015 +0000
@@ -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 @@
 .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
diff -r e75ba1120df4 -r c3d8310a8694 sbin/gpt/show.c
--- a/sbin/gpt/show.c   Fri Dec 25 10:59:56 2015 +0000
+++ b/sbin/gpt/show.c   Fri Dec 25 12:16:03 2015 +0000
@@ -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 @@
 static int cmd_show(gpt_t, int, char *[]);
 
 static const char *showhelp[] = {
-       "[-glu] [-i index] [-a]",
+       "[-aglu] [-i index]",
 };
 
 #define SHOW_UUID  1



Home | Main Index | Thread Index | Old Index