Changeset 12585 for trunk/FACT++/dim/src/did
- Timestamp:
- 11/21/11 09:02:21 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/dim/src/did/did.c
r11071 r12585 813 813 (!strncmp(opt_str,"ALL",3))) 814 814 Curr_view_opt = 1; 815 else if((!strncmp(opt_str,"dns",3)) || 816 (!strncmp(opt_str,"DNS",3))) { 817 char text[132]; 818 sprintf(text,"DIM_DNS_NODE=%s",opt_str+4); 819 putenv(text); 820 dim_set_dns_node(opt_str+4); 821 } 815 822 else if((!strncmp(opt_str,"service",7)) || 816 823 (!strncmp(opt_str,"SERVICE",7))) … … 824 831 printf("Did - DIM Information Display\n"); 825 832 printf("\t-all Show ALL Servers\n"); 833 printf("\t-dns=<str> Show Servers with DIM_DNS_NODE provided by <str>\n"); 826 834 printf("\t-service=<str> Show Servers providing Service <str>\n"); 827 835 printf("\t-node=<nodename> Show Servers on Node <nodename>\n");
Note:
See TracChangeset
for help on using the changeset viewer.