diff options
author | Matt Kraai | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | Matt Kraai | 2000-07-16 20:57:15 +0000 |
commit | bf181b9338152759fd56c8009e9a962a84808e7c (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /hostname.c | |
parent | 3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff) | |
download | busybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz |
Extract usage information into a separate file.
Diffstat (limited to 'hostname.c')
-rw-r--r-- | hostname.c | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -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 <tausq@debian.org> @@ -30,21 +30,6 @@ #include <unistd.h> #include <stdio.h> -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; |