Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Check for at least 1 arg, not 2 #34

Merged
merged 2 commits into from
Mar 1, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Gir/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static string GetDefaultSearchDirectory ()

public static int Main(string[] args)
{
if (args.Length < 2) {
if (args.Length < 1) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Console.WriteLine("Usage: gir.exe <file.gir>");
return 0;
}
Expand Down