Skip to content

Commit

Permalink
Fixup command parser error on 'update'
Browse files Browse the repository at this point in the history
  • Loading branch information
davewalker5 committed Jun 6, 2023
1 parent a4aaf04 commit a91dbff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/FlightRecorder.Manager/Entities/OperationType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ public enum OperationType
delete = 2,
export = 3,
import = 4,
update = 6
update = 5
}
}
4 changes: 2 additions & 2 deletions src/FlightRecorder.Manager/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ static void Main(string[] args)
Console.WriteLine($"[1] {executable} add username password");
Console.WriteLine($"[2] {executable} setpassword username password");
Console.WriteLine($"[3] {executable} delete username");
Console.WriteLine($"[4] {executable} import csv_file_path");
Console.WriteLine($"[5] {executable} export csv_file_path");
Console.WriteLine($"[4] {executable} import airports|sightings csv_file_path");
Console.WriteLine($"[5] {executable} export airports|sightings csv_file_path");
Console.WriteLine($"[6] {executable} update");
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/FlightRecorder.Manager/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": {
"FlightRecorder.Manager": {
"commandName": "Project",
"commandLineArgs": "export airports C:\\Temp\\iata_codes.csv"
"commandLineArgs": "update"
}
}
}

0 comments on commit a91dbff

Please sign in to comment.