Created
February 9, 2012 10:47
-
-
Save stfnm/1779220 to your computer and use it in GitHub Desktop.
hostname.c options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static struct argp_option argp_options[] = { | |
#define GRP 0 | |
{"aliases", 'a', NULL, 0, "alias names", GRP+1}, | |
{"domain", 'd', NULL, 0, "DNS domain name", GRP+1}, | |
{"file", 'F', "FILE", 0, "set host name or NIS domain name from FILE", | |
GRP+1}, | |
{"fqdn", 'f', NULL, 0, "DNS host name or FQDN", GRP+1}, | |
{"long", 'f', NULL, OPTION_ALIAS, "DNS host name or FQDN", GRP+1}, | |
{"ip-addresses", 'i', NULL, 0, "addresses for the host name", GRP+1}, | |
{"short", 's', NULL, 0, "short host name", GRP+1}, | |
{"yp", 'y', NULL, 0, "NIS/YP domain name", GRP+1}, | |
{"nis", 0, NULL, OPTION_ALIAS, NULL, GRP+1}, | |
#undef GRP | |
{NULL} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment