aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine/HelpCommand.cs
blob: 1c1017819999abd28b04a525ec1fe6ebb99af842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.

namespace WixToolset.Core
{
    using System;

    internal class HelpCommand : ICommand
    {
        public HelpCommand(Commands command)
        {
            this.Command = command;
        }

        public Commands Command { get; }

        public int Execute()
        {
            if (this.Command == Commands.Unknown)
            {
                Console.WriteLine();
            }
            else
            {
                Console.WriteLine();
            }

            return -1;
        }
    }
}