Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/fdisk Add -g to usage.
details: https://anonhg.NetBSD.org/src/rev/364b78c83c50
branches: trunk
changeset: 1010405:364b78c83c50
user: wiz <wiz%NetBSD.org@localhost>
date: Sun May 24 21:02:12 2020 +0000
description:
Add -g to usage.
diffstat:
sbin/fdisk/fdisk.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 9ad329f7d874 -r 364b78c83c50 sbin/fdisk/fdisk.c
--- a/sbin/fdisk/fdisk.c Sun May 24 21:01:49 2020 +0000
+++ b/sbin/fdisk/fdisk.c Sun May 24 21:02:12 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdisk.c,v 1.158 2020/05/24 18:42:48 jmcneill Exp $ */
+/* $NetBSD: fdisk.c,v 1.159 2020/05/24 21:02:12 wiz Exp $ */
/*
* Mach Operating System
@@ -39,7 +39,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: fdisk.c,v 1.158 2020/05/24 18:42:48 jmcneill Exp $");
+__RCSID("$NetBSD: fdisk.c,v 1.159 2020/05/24 21:02:12 wiz Exp $");
#endif /* not lint */
#define MBRPTYPENAMES
@@ -665,7 +665,7 @@
{
int indent = 7 + (int)strlen(getprogname()) + 1;
- (void)fprintf(stderr, "usage: %s [-aBFfIilSuv] "
+ (void)fprintf(stderr, "usage: %s [-aBFfgIilSuv] "
"[-A ptn_alignment[/ptn_0_offset]] \\\n"
"%*s[-b cylinders/heads/sectors] \\\n"
"%*s[-0123 | -E num "
@@ -675,6 +675,7 @@
"[-r|-w file] [-z sectorsize] [device]\n"
"\t-a change active partition\n"
"\t-f force - not interactive\n"
+ "\t-g preserve existing GPT headers\n"
"\t-i initialise MBR code\n"
"\t-I ignore errors about no space or overlapping partitions\n"
"\t-l list partition types\n"
Home |
Main Index |
Thread Index |
Old Index