Home | History | Annotate | Download | only in date

Lines Matching defs:arg

72   char *arg;
84 arg = argv[optInd];
87 if(strcmp(arg, "-v") == 0 || strcmp(arg, "--version") == 0) {
91 else if(strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) {
95 else if(strcmp(arg, "-u") == 0 || strcmp(arg, "--gmt") == 0) {
99 else if(strcmp(arg, "-f") == 0 || strcmp(arg, "--full") == 0) {
103 else if(strcmp(arg, "-l") == 0 || strcmp(arg, "--long") == 0) {
107 else if(strcmp(arg, "-m") == 0 || strcmp(arg, "--medium") == 0) {
111 else if(strcmp(arg, "-s") == 0 || strcmp(arg, "--short") == 0) {
114 else if(strcmp(arg, "-F") == 0 || strcmp(arg, "--format") == 0) {
119 } else if(strcmp(arg, "-r") == 0) {
124 } else if(strcmp(arg, "-R") == 0) {
129 } else if(strcmp(arg, "-P") == 0) {
136 else if(strcmp(arg, "--") == 0) {
142 else if(strncmp(arg, "-", strlen("-")) == 0) {
143 printf("icudate: invalid option -- %s\n", arg+1);