Get Multiple occurences of option "--file" error using mongoimport

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: Legacy C++ Implementation
    • Component/s: mongoimport
    • None
    • Environment:
      Windows 7 Professional

      Enter the following;
      mongoimport --db test --collection fdiagno --type csv --file fdiagno.csv –fields field1, field2

      and get Error parsing command line: Multiple occurrences of option "--file"

      There is only one occurrence of file. Why the error?

        1. bihaeabj.png
          4 kB
          Paul Cooling [X]

            Assignee:
            Adinoyi Omuya (Inactive)
            Reporter:
            Paul Cooling [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: