From e016fccfc4c42972b42c9c0e46992a4bcd496a6a Mon Sep 17 00:00:00 2001 From: john-okeefe Date: Mon, 11 Dec 2023 08:28:46 -0500 Subject: [PATCH] Updated README.md instructions to explain file as argument --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 612daf6..a8ec111 100644 --- a/README.md +++ b/README.md @@ -18,5 +18,6 @@ This is a calculator written in Go to process a text file of a large list of UPC 2. Open cmd.exe or PowerShell 3. type "cd " (don't forget the space) and press Shift+Insert (or Right Click) and press Enter. 4. Back in the command line program type checkdigitcalc.exe (I like to type check and then press tab). -5. The program will ask for the name of the file. Type the name of the text file you created including the extension (.txt or .csv) (i.e. upcs.txt) -6. When the program finishes, it will exit. Open the answer.txt file that was produced/rewritten by the program. \ No newline at end of file +5. (optional) Along with typing the command in step the previous step, you can type the file you want to process as an argument (next to command). An advantage of this method is typing the first character or two of the file name and pressing tab. (i.e. "checkdigitcalc.exe upcs.txt") +6. (optional) If you do not type a filename when entering the command, the program will ask for the name of the file. Type the name of the text file you created including the extension (.txt or .csv) (i.e. upcs.txt) +7. When the program finishes, it will exit. Open the answer.txt file that was produced/rewritten by the program. \ No newline at end of file