Skip to content

Commit af35dc4

Browse files
committed
Bug Fix and Rewrote a part of -help
1 parent d7efcde commit af35dc4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

EasyInv/EasyInv.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.IO;
33
using System.Collections.Generic;
4-
using System.Linq;
54
using System.Text;
65
using NDesk.Options;
76

@@ -22,7 +21,7 @@ static void Main(string[] args) {
2221
var options = new OptionSet() {
2322
{ "c|csv=", "The path to a CSV containing UPC codes in the first collumn. Requires path to a '.csv' file.", v => csvPath = v },
2423
{ "u|upc=", "A single UPC code to scan. Can be used multiple times in one execution. Requires numerical UPC code.", (long v) => upcCodes.Add(v) },
25-
{ "e|export=", "Export results to a csv. Requires a path to a '.csv' file (it will create a new one at the location with the given filename).", v => exportPath = v },
24+
{ "e|export=", "Export results to a csv. Requires a path to either an exiting '.csv' file to append or the desired path for a new one to be created (no export destination will print the results in the console).", v => exportPath = v },
2625
{ "h|header=", "A header for the results.", v => resultsHeader = v },
2726
{ "setup", "Information on how to initalize EasyInv.", v => showSetup = (v != null) },
2827
{ "help", "Information on the commands for EasyInv.", v => showHelp = (v != null) }

0 commit comments

Comments
 (0)