<commit_before>// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.DotNet.Tools;
using Microsoft.DotNet.Tools.List.ProjectToProjectReferences;
using LocalizableStrings = Microsoft.DotNet.Tools.List.LocalizableStrings;

namespace Microsoft.DotNet.Cli
{
    internal static class ListCommandParser
    {
        public static Command List() => Create.Command(
            "list",
            LocalizableStrings.NetListCommand,
            Accept.ZeroOrOneArgument()
            .With(
                    name: CommonLocalizableStrings.SolutionOrProjectArgumentName,
                    description: CommonLocalizableStrings.SolutionOrProjectArgumentDescription)
            .DefaultToCurrentDirectory(),
            ListPackageReferencesCommandParser.ListPackageReferences(),
            ListProjectToProjectReferencesCommandParser.ListProjectToProjectReferences(),
            CommonOptions.HelpOption());
    }
}<commit_msg>this fixes help description described in item 1<commit_after>// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.DotNet.Tools;
using Microsoft.DotNet.Tools.List.ProjectToProjectReferences;
using LocalizableStrings = Microsoft.DotNet.Tools.List.LocalizableStrings;

namespace Microsoft.DotNet.Cli
{
    internal static class ListCommandParser
    {
        public static Command List() => Create.Command(
            "list",
            LocalizableStrings.NetListCommand,
            Accept.ZeroOrOneArgument()
            .With(
                    name: CommonLocalizableStrings.ProjectArgumentName,
                    description: CommonLocalizableStrings.ProjectArgumentDescription)
            .DefaultToCurrentDirectory(),
            ListPackageReferencesCommandParser.ListPackageReferences(),
            ListProjectToProjectReferencesCommandParser.ListProjectToProjectReferences(),
            CommonOptions.HelpOption());
    }
}
{'fraction_non_alphanumeric': 0.06930693069306931, 'fraction_numerical': 0.00045004500450045, 'mean_word_length': 3.275, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3430086', 'n_tokens_mistral': 510, 'n_tokens_neox': 486, 'n_words': 123}