summaryrefslogtreecommitdiff
path: root/sbin/disklabel/editor.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-03-01 01:50:46 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-03-01 01:50:46 +0000
commitdfca933bd751645add7909928e917b881f5fb455 (patch)
tree526fe71f3dbe36a23a1ef8c0605d924d0c58c3c1 /sbin/disklabel/editor.c
parentd961bd2626b0375484fa68f29046a5299b96a725 (diff)
Change undocumented '-p' flag to '-d' and document. Also document '-v'.
Make 'disklabel -ed' not overwrite your label if you make no changes in the editor (added a cmplabel function to compare two labels).
Diffstat (limited to 'sbin/disklabel/editor.c')
-rw-r--r--sbin/disklabel/editor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index eafd1055fa6..63f96946ad4 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: editor.c,v 1.45 1998/10/11 20:49:17 millert Exp $ */
+/* $OpenBSD: editor.c,v 1.46 1999/03/01 01:50:45 millert Exp $ */
/*
- * Copyright (c) 1997-1998 Todd C. Miller <Todd.Miller@courtesan.com>
+ * Copyright (c) 1997-1999 Todd C. Miller <Todd.Miller@courtesan.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -28,7 +28,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: editor.c,v 1.45 1998/10/11 20:49:17 millert Exp $";
+static char rcsid[] = "$OpenBSD: editor.c,v 1.46 1999/03/01 01:50:45 millert Exp $";
#endif /* not lint */
#include <sys/types.h>