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

Check for at least 1 arg, not 2 #34

merged 2 commits into from
Mar 1, 2018

Conversation

decriptor
Copy link
Contributor

No description provided.

@decriptor decriptor requested a review from Therzok March 1, 2018 08:02
@decriptor decriptor requested a review from sundermann as a code owner March 1, 2018 08:02
sundermann
sundermann previously approved these changes Mar 1, 2018
@@ -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.

👍

ParseArg(opt, arg);
}

opt.AllRepositories = Parser.Parse(args[0], opt.IncludeSearchDirectory, out opt.GenerationRepository);
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@Therzok Therzok merged commit 4e59383 into master Mar 1, 2018
@Therzok Therzok deleted the fix-args-length branch March 1, 2018 08:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants