summaryrefslogtreecommitdiffstats
path: root/libexec/getNAME/getNAME.c
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1996-07-08 20:18:28 +0000
committerwosch <wosch@FreeBSD.org>1996-07-08 20:18:28 +0000
commit7dbcea9d7a235d9bdfe0a5925903b3d65c4ee84d (patch)
tree479fe6f26b3f476b183f2cafbd3171f0c95c7e11 /libexec/getNAME/getNAME.c
parent5bcd6f63c6d112f1023850c7556c52096067863e (diff)
downloadFreeBSD-src-7dbcea9d7a235d9bdfe0a5925903b3d65c4ee84d.zip
FreeBSD-src-7dbcea9d7a235d9bdfe0a5925903b3d65c4ee84d.tar.gz
add manpage getNAME(1)
Diffstat (limited to 'libexec/getNAME/getNAME.c')
-rw-r--r--libexec/getNAME/getNAME.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libexec/getNAME/getNAME.c b/libexec/getNAME/getNAME.c
index 2ab64b4..cab9bb8 100644
--- a/libexec/getNAME/getNAME.c
+++ b/libexec/getNAME/getNAME.c
@@ -29,6 +29,9 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
+ *
+ * $Id: $
+ *
*/
#ifndef lint
@@ -81,7 +84,6 @@ main(argc, argv)
case 'w':
typeflag = 1;
break;
- case '?':
default:
usage();
}
@@ -334,6 +336,6 @@ again:
void
usage()
{
- (void)fprintf(stderr, "usage: getNAME [-it] file ...\n");
+ (void)fprintf(stderr, "usage: getNAME [-itw] file ...\n");
exit(1);
}
OpenPOWER on IntegriCloud