From: krw Date: Sun, 10 Aug 2008 02:03:06 +0000 (+0000) Subject: Shorten the lines of '?' output in edit mode. A couple were too X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5f7b9c4cd601c41cac50b962dc10bc89c274af73;p=openbsd Shorten the lines of '?' output in edit mode. A couple were too long (>76 chars) for the install script space on the CD jackets. Requested by deraadt@. --- diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index 0f7852d048b..7845981351c 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.168 2008/06/25 18:31:07 otto Exp $ */ +/* $OpenBSD: editor.c,v 1.169 2008/08/10 02:03:06 krw Exp $ */ /* * Copyright (c) 1997-2000 Todd C. Miller @@ -17,7 +17,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: editor.c,v 1.168 2008/06/25 18:31:07 otto Exp $"; +static char rcsid[] = "$OpenBSD: editor.c,v 1.169 2008/08/10 02:03:06 krw Exp $"; #endif /* not lint */ #include @@ -1563,16 +1563,16 @@ editor_help(char *arg) default: puts("Available commands:"); puts( -" ? [command] - show help n [part] - set mount point\n" -" a [part] - add partition p [unit] - print partitions\n" -" b - set OpenBSD boundaries q - quit & save changes\n" -" c [part] - change partition size r - display free space\n" -" D - reset label to default s [path] - save label to file\n" -" d [part] - delete partition u - undo last change\n" -" e - edit drive parameters w - write label to disk\n" -" g [d|u] - [d]isk or [u]ser geometry X - toggle expert mode\n" -" l [unit] - print disk label header x - exit w/o saving changes\n" -" M - disklabel(8) man page z - delete all partitions\n" +" ? [command] - show help n [part] - set mount point\n" +" a [part] - add partition p [unit] - print partitions\n" +" b - set OpenBSD boundaries q - quit & save changes\n" +" c [part] - change partition size r - display free space\n" +" D - reset label to default s [path] - save label to file\n" +" d [part] - delete partition u - undo last change\n" +" e - edit drive parameters w - write label to disk\n" +" g [d|u] - [d]isk or [u]ser geometry X - toggle expert mode\n" +" l [unit] - print disk label header x - exit & lose changes\n" +" M - disklabel(8) man page z - delete all partitions\n" " m [part] - modify partition\n" "\n" "Suffixes can be used to indicate units other than sectors:\n"