Skip to content

Commit

Permalink
Fix default values
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaykul committed Mar 2, 2015
1 parent d319cfb commit 4987e54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public void run(ChocolateyConfiguration configuration)
}
}

public IEnumerable<ChocolateySource> list(ChocolateyConfiguration configuration, bool logResults)
public IEnumerable<ChocolateySource> list(ChocolateyConfiguration configuration, bool logResults = true)
{
return _configSettingsService.source_list(configuration, logResults);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace chocolatey.infrastructure.app.services
public interface IChocolateyConfigSettingsService
{
void noop(ChocolateyConfiguration configuration);
IEnumerable<ChocolateySource> source_list(ChocolateyConfiguration configuration, bool logResults);
IEnumerable<ChocolateySource> source_list(ChocolateyConfiguration configuration, bool logResults = true);
void source_add(ChocolateyConfiguration configuration);
void source_remove(ChocolateyConfiguration configuration);
void source_disable(ChocolateyConfiguration configuration);
Expand Down
2 changes: 1 addition & 1 deletion src/chocolatey/infrastructure/commands/IListCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ namespace chocolatey.infrastructure.commands

public interface IListCommand<out T> : ICommand
{
IEnumerable<T> list(ChocolateyConfiguration config, bool logResults);
IEnumerable<T> list(ChocolateyConfiguration config, bool logResults = true);
}
}

0 comments on commit 4987e54

Please sign in to comment.