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
diff --git c/main.go w/main.go | |
index 4679a1a..fd3d249 100644 | |
--- c/main.go | |
+++ w/main.go | |
@@ -25,6 +25,7 @@ var js = flag.BoolP("json", "j", false, "output json format to stdout") | |
var fp = flag.StringP("file", "f", "", "file name to check") | |
var ignore = flag.BoolP("ignore", "i", false, "ignore url patterns") | |
var failOnly = flag.Bool("fails", false, "show only urls that failed") | |
+var urlFlag = flag.BoolP("url", "u", false, "read telescope restful API") | |
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
void getTenDigitPhone(char phoneNum[]) | |
{ | |
do | |
{ | |
printf("Enter a 10-digit phone number: "); | |
scanf("%10[0-9]",phoneNum); | |
getchar(); | |
//or clearKeyboard() | |
} while(strlen(phoneNum) != 10); | |
} |