From bf181b9338152759fd56c8009e9a962a84808e7c Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Sun, 16 Jul 2000 20:57:15 +0000 Subject: Extract usage information into a separate file. --- hostname.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'hostname.c') diff --git a/hostname.c b/hostname.c index 60f66c073..77b545ded 100644 --- a/hostname.c +++ b/hostname.c @@ -1,6 +1,6 @@ /* vi: set sw=4 ts=4: */ /* - * $Id: hostname.c,v 1.11 2000/07/14 01:51:25 kraai Exp $ + * $Id: hostname.c,v 1.12 2000/07/16 20:57:15 kraai Exp $ * Mini hostname implementation for busybox * * Copyright (C) 1999 by Randolph Chung @@ -30,21 +30,6 @@ #include #include -static const char *hostname_usage = - "hostname [OPTION] {hostname | -F file}\n" -#ifndef BB_FEATURE_TRIVIAL_HELP - "\nGet or set the hostname or DNS domain name. If a hostname is given\n" - "(or a file with the -F parameter), the host name will be set.\n\n" - "Options:\n" - "\t-s\t\tShort\n" - - "\t-i\t\tAddresses for the hostname\n" - "\t-d\t\tDNS domain name\n" - "\t-F FILE\t\tUse the contents of FILE to specify the hostname\n" -#endif - ; - - void do_sethostname(char *s, int isfile) { FILE *f; -- cgit v1.2.3