changeset 10955:9ddb8cec6aa3

6557253 dispadmin.c:usage[] contains undocumented -u option Portions contributed by Rishi Nair and Avinash Joshi
author Jayakara Kini <Jayakara.Kini@Sun.COM>
date Thu, 05 Nov 2009 10:44:03 +0530
parents 2b7813ae5034
children 0c81acaaf614
files usr/src/cmd/dispadmin/dispadmin.c
diffstat 1 files changed, 4 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/dispadmin/dispadmin.c	Wed Nov 04 21:29:57 2009 -0600
+++ b/usr/src/cmd/dispadmin/dispadmin.c	Thu Nov 05 10:44:03 2009 +0530
@@ -2,9 +2,8 @@
  * CDDL HEADER START
  *
  * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License").  You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
  *
  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  * or http://www.opensolaris.org/os/licensing.
@@ -23,14 +22,11 @@
 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
 /*	  All Rights Reserved  	*/
 
-
 /*
- * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident	"%Z%%M%	%I%	%E% SMI"
-
 #include	<stdio.h>
 #include	<stdlib.h>
 #include	<string.h>
@@ -72,8 +68,7 @@
 static char usage[] =
 "usage:	dispadmin -l\n\
 	dispadmin -c class [class-specific options]\n\
-	dispadmin -d [class]\n\
-	dispadmin -u\n";
+	dispadmin -d [class]\n";
 
 static char basenm[BASENMSZ];
 static char cmdpath[PATH_MAX];